mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
tailwind 3 upgrade part 1
This commit is contained in:
18
webpack.mix.js
vendored
18
webpack.mix.js
vendored
@@ -6,19 +6,21 @@ const mix = require('laravel-mix');
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Mix provides a clean, fluent API for defining some Webpack build steps
|
||||
| for your Laravel application. By default, we are compiling the Sass
|
||||
| for your Laravel applications. By default, we are compiling the CSS
|
||||
| file for the application as well as bundling up all the JS files.
|
||||
|
|
||||
*/
|
||||
|
||||
mix.js('resources/js/main.js', 'public/js')
|
||||
mix
|
||||
.js('resources/js/main.js', 'public/js')
|
||||
.vue()
|
||||
.sass('resources/sass/app.scss', 'public/css/app.css', {
|
||||
implementation: require('node-sass')
|
||||
})
|
||||
.postCss("resources/css/tailwind.css", "public/css", [
|
||||
require("tailwindcss"),
|
||||
])
|
||||
.webpackConfig({
|
||||
/*.webpackConfig({
|
||||
output: {
|
||||
chunkFilename: '[name].js?id=[chunkhash]',
|
||||
},
|
||||
@@ -26,15 +28,11 @@ mix.js('resources/js/main.js', 'public/js')
|
||||
devServer: {
|
||||
clientLogLevel: 'none'
|
||||
}
|
||||
})
|
||||
.options({
|
||||
})*/
|
||||
/*.options({
|
||||
hmrOptions: {
|
||||
host: '192.168.1.112',
|
||||
port: '8080'
|
||||
},
|
||||
})
|
||||
})*/
|
||||
.disableNotifications();
|
||||
|
||||
if (mix.inProduction()) {
|
||||
mix.version();
|
||||
}
|
||||
Reference in New Issue
Block a user