diff --git a/build/webpack.dll.conf.js b/build/webpack.dll.conf.js deleted file mode 100644 index 8cf025c..0000000 --- a/build/webpack.dll.conf.js +++ /dev/null @@ -1,29 +0,0 @@ -const path = require('path'); -const webpack = require('webpack'); - -module.exports = { - entry: { - vendor: ['vue/dist/vue.common.js','vue-router', 'babel-polyfill','axios'] - }, - output: { - path: path.join(__dirname, '../static/js'), - filename: '[name].dll.js', - library: '[name]_library' - }, - plugins: [ - new webpack.DllPlugin({ - path: path.join(__dirname, '.', '[name]-manifest.json'), - name: '[name]_library' - }), - new webpack.optimize.UglifyJsPlugin({ - compress: { - warnings: false - } - }), - new webpack.DefinePlugin({ - 'process.env': { - NODE_ENV: '"production"' - } - }) - ] -}; \ No newline at end of file diff --git a/package.json b/package.json index 5e6d7fe..77e5974 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,7 @@ "private": true, "scripts": { "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", - "build": "node build/build.js", - "build:dll": "webpack --config build/webpack.dll.conf.js" + "build": "node build/build.js" }, "dependencies": { "axios": "^0.15.3", diff --git a/src/App.vue b/src/App.vue index 08a8e28..5d24c8d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,6 @@