Fixed issues with file names

This commit is contained in:
euvl
2017-06-20 09:00:17 +01:00
parent dcf3291623
commit b652b4342c
3 changed files with 3 additions and 4 deletions

View File

@@ -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()
]
}

View File

@@ -5,6 +5,6 @@ const base = require('./webpack.base.config')
module.exports = merge(base, {
output: {
filename: 'client.index.js'
filename: 'index.js'
}
})

View File

@@ -3,7 +3,7 @@
"description": "Modal Component for Vue.js",
"version": "1.2.0",
"author": "euvl <yev.vlasenko@gmail.com>",
"main": "dist/client.index.js",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/euvl/vue-js-modal.git"