removed obsolete js deps
This commit is contained in:
parent
434e308f24
commit
6ecdf34b64
File diff suppressed because it is too large
Load Diff
@ -20,8 +20,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browserify": "^16.5.0",
|
"browserify": "^16.5.0",
|
||||||
"browserify-css": "^0.15.0",
|
"browserify-css": "^0.15.0",
|
||||||
"browserify-shim": "^3.8.14",
|
"browserify-shim": "^3.8.14"
|
||||||
"webpack": "^4.41.2"
|
|
||||||
},
|
},
|
||||||
"browserify": {
|
"browserify": {
|
||||||
"transform": [
|
"transform": [
|
||||||
|
@ -1,55 +0,0 @@
|
|||||||
const path = require('path');
|
|
||||||
const HTMLWebpackPlugin = require('html-webpack-plugin')
|
|
||||||
// const DynamicCdnWebpackPlugin = require('dynamic-cdn-webpack-plugin');
|
|
||||||
const WebpackCdnPlugin = require('webpack-cdn-plugin');
|
|
||||||
let options = {};
|
|
||||||
options.verbose = true;
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
optimization:{
|
|
||||||
minimize: false, // <---- disables uglify.
|
|
||||||
// minimizer: [new UglifyJsPlugin()] if you want to customize it.
|
|
||||||
},
|
|
||||||
mode: 'production',
|
|
||||||
entry: './chat.js',
|
|
||||||
output: {
|
|
||||||
path: path.resolve(__dirname, '../resources/static/js/'),
|
|
||||||
// ../resources/static/js/
|
|
||||||
filename: 'bundle.js'
|
|
||||||
},
|
|
||||||
module: {
|
|
||||||
rules: [{
|
|
||||||
test: /\.js$/,
|
|
||||||
exclude: /node_modules/,
|
|
||||||
use: {
|
|
||||||
loader: 'babel-loader'
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
},
|
|
||||||
plugins: [
|
|
||||||
|
|
||||||
|
|
||||||
new HTMLWebpackPlugin(),
|
|
||||||
new WebpackCdnPlugin({
|
|
||||||
modules: [
|
|
||||||
// {
|
|
||||||
// name: 'vue',
|
|
||||||
// var: 'Vue',
|
|
||||||
// path: 'dist/vue.runtime.min.js'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// name: 'vue-router',
|
|
||||||
// var: 'VueRouter',
|
|
||||||
// path: 'dist/vue-router.min.js'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// name: 'vuex',
|
|
||||||
// var: 'Vuex',
|
|
||||||
// path: 'dist/vuex.min.js'
|
|
||||||
// }
|
|
||||||
],
|
|
||||||
publicPath: '/node_modules'
|
|
||||||
})
|
|
||||||
// new DynamicCdnWebpackPlugin(options)
|
|
||||||
]
|
|
||||||
};
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user