-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvue.config.js
More file actions
26 lines (26 loc) · 820 Bytes
/
vue.config.js
File metadata and controls
26 lines (26 loc) · 820 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
module.exports = {
configureWebpack: {
// We provide the app's title in Webpack's name field, so that
// it can be accessed in index.html to inject the correct title.
name: "cdd",
// Set up all the aliases we use in our app.
resolve: {
alias: require("./aliases.config").webpack
},
plugins: [
// Optionally produce a bundle analysis
// TODO: Remove once this feature is built into Vue CLI
// new BundleAnalyzerPlugin({
// analyzerMode: process.env.ANALYZE ? 'static' : 'disabled',
// openAnalyzer: process.env.CI !== 'true',
// }),
]
},
css: {
// Enable CSS source maps.
sourceMap: true,
// Enable CSS modules for all CSS/pre-processor files.
// This option does not affect *.vue files.
modules: true
}
};