You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> If you'd like to leverage more of Webpack's functionality, Elixir will read any webpack.config.js file that is in your project root and factor its configuration into the build process.
32
+
33
+
For example, to make Vue use `sass-loader` for `<style lang="scss">`:
34
+
35
+
```js
36
+
// webpack.config.js
37
+
module.exports= {
38
+
vue: {
39
+
loaders: {
40
+
js:'buble-loader',
41
+
scss:'vue-style-loader!css-loader!sass-loader'
42
+
}
43
+
}
44
+
}
45
+
```
46
+
47
+
## Using Spread Operator
48
+
49
+
The [Object spread operator](https://github.com/sebmarkbage/ecmascript-rest-spread) requires `Object.assign` to be available. Make sure to [polyfill it](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill) if you target browsers that don't support it yet.
0 commit comments