We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b33b5 commit 45bba82Copy full SHA for 45bba82
src/inertiajs-stubs/webpack.mix.js
@@ -1,12 +1,13 @@
1
const mix = require('laravel-mix')
2
const path = require('path')
3
4
-mix.js('resources/js/app.js', 'public/js').webpackConfig({
5
- output: { chunkFilename: 'js/[name].[contenthash].js' },
6
- resolve: {
7
- alias: {
8
- 'vue$': 'vue/dist/vue.runtime.js',
9
- '@': path.resolve('resources/js'),
10
- },
11
12
-})
+mix.sass('resources/sass/app.scss', 'public/css')
+ .js('resources/js/app.js', 'public/js').webpackConfig({
+ output: { chunkFilename: 'js/[name].[contenthash].js' },
+ resolve: {
+ alias: {
+ 'vue$': 'vue/dist/vue.runtime.js',
+ '@': path.resolve('resources/js'),
+ },
13
+ })
0 commit comments