diff --git a/build/webpack.base.config.js b/build/webpack.base.config.js index 6fdc4b9..fd58cf4 100644 --- a/build/webpack.base.config.js +++ b/build/webpack.base.config.js @@ -9,7 +9,6 @@ module.exports = { output: { path: path.resolve(__dirname, '../dist'), publicPath: '/dist/', - filename: 'index.js', library:'VueJsModal', libraryTarget: 'commonjs2' }, @@ -36,6 +35,6 @@ module.exports = { }, devtool: '#source-map', plugins: [ - new UglifyJSPlugin() + // new UglifyJSPlugin() ] } diff --git a/build/webpack.client.config.js b/build/webpack.client.config.js index a4f0580..be1e7e2 100644 --- a/build/webpack.client.config.js +++ b/build/webpack.client.config.js @@ -5,6 +5,6 @@ const base = require('./webpack.base.config') module.exports = merge(base, { output: { - filename: 'client.index.js' + filename: 'index.js' } }) diff --git a/package.json b/package.json index 360ca7a..d839836 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Modal Component for Vue.js", "version": "1.2.0", "author": "euvl ", - "main": "dist/client.index.js", + "main": "dist/index.js", "repository": { "type": "git", "url": "https://github.com/euvl/vue-js-modal.git"