Сайт Fakel Gym
https://fakelgym.cp.good-production.xyz/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
823 B
34 lines
823 B
let mix = require('laravel-mix');
|
|
let path = require('path');
|
|
let postCss = require('@tailwindcss/postcss');
|
|
|
|
mix.setResourceRoot('../');
|
|
mix.setPublicPath(path.resolve('./'));
|
|
|
|
mix.webpackConfig({
|
|
watchOptions: { ignored: [
|
|
path.posix.resolve(__dirname, './node_modules'),
|
|
path.posix.resolve(__dirname, './css'),
|
|
path.posix.resolve(__dirname, './js')
|
|
] }
|
|
});
|
|
|
|
mix.js('resources/js/app.js', 'js');
|
|
|
|
mix.postCss("resources/css/app.css", "css", postCss);
|
|
|
|
mix.postCss("resources/css/editor-style.css", "css", postCss);
|
|
|
|
// mix.browserSync({
|
|
// proxy: 'http://tailpress.test',
|
|
// host: 'tailpress.test',
|
|
// open: 'external',
|
|
// port: 8000,
|
|
// files: ["*.php", "**/*.php"]
|
|
// });
|
|
|
|
if (mix.inProduction()) {
|
|
mix.version();
|
|
} else {
|
|
mix.options({ manifest: false });
|
|
}
|
|
|