mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Removed source maps generation
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
const path = require('path')
|
||||
const webpack = require('webpack')
|
||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||
|
||||
// "build:client": "cross-env NODE_ENV=production webpack --config ./build/webpack.client.config.js --progress --hide-modules",
|
||||
// const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: path.resolve(__dirname, '../src/index.js'),
|
||||
@@ -10,7 +8,8 @@ module.exports = {
|
||||
path: path.resolve(__dirname, '../dist'),
|
||||
publicPath: '/dist/',
|
||||
library:'vue-js-modal',
|
||||
libraryTarget: 'umd'
|
||||
libraryTarget: 'umd',
|
||||
umdNamedDefine: true
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
@@ -33,7 +32,7 @@ module.exports = {
|
||||
'vue$': 'vue/dist/vue.esm.js'
|
||||
}
|
||||
},
|
||||
devtool: '#source-map',
|
||||
devtool: false,
|
||||
plugins: [
|
||||
// new UglifyJSPlugin()
|
||||
]
|
||||
|
||||
21
dist/index.js
vendored
21
dist/index.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user