|
@@ -0,0 +1,31 @@
|
|
|
+// see http://vuejs-templates.github.io/webpack for documentation.
|
|
|
+'use strict'
|
|
|
+const path = require('path')
|
|
|
+
|
|
|
+module.exports = {
|
|
|
+ dev: {
|
|
|
+ / Paths
|
|
|
+ assetsSubDirectory: 'static',
|
|
|
+ assetsPublicPath: '/',
|
|
|
+ proxyTable: {},
|
|
|
+
|
|
|
+ // Various Dev Server settings
|
|
|
+ host: 'localhost',
|
|
|
+ port: 8080,
|
|
|
+
|
|
|
+ // skipping other options as they are only convenience features
|
|
|
+ },
|
|
|
+ build: {
|
|
|
+ // Template for index.html
|
|
|
+ index: path.resolve(__dirname, '../dist/index.html'),
|
|
|
+
|
|
|
+ // Paths
|
|
|
+ assetsRoot: path.resolve(__dirname, '../dist'),
|
|
|
+ assetsSubDirectory: 'static',
|
|
|
+ assetsPublicPath: '/',
|
|
|
+
|
|
|
+ productionSourceMap: true,
|
|
|
+
|
|
|
+ // skipping the rest ...
|
|
|
+ },
|
|
|
+}
|