-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathwebpack.mix.config.js
More file actions
40 lines (37 loc) · 838 Bytes
/
webpack.mix.config.js
File metadata and controls
40 lines (37 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
const config = {
/**
* Options for dart-sass.
*
* @link https://github.com/sass/dart-sass#javascript-api
*/
sass: {
sassOptions: {
// Include additional SASS files into load paths
// Example: includePaths: ['assets/vendor/bootstrap-sass/assets/stylesheets/']
includePaths: ['assets/sass', 'node_modules']
}
},
mix: {
postCSS: [
require('autoprefixer')
],
processCssUrls: false
},
/**
* Webpack Config
*/
webpack: {
// @link https://webpack.js.org/configuration/devtool/#devtool
devtool: 'source-map',
/**
* When using JavaScript files that are symlinked, Webpack often runs into
* errors when it tries to resolve symlinks.
*
* @link https://webpack.js.org/configuration/resolve/#resolve-symlinks
*/
resolve: {
symlinks: false
}
}
};
module.exports.config = config;