removed obsolete js deps

This commit is contained in:
Rohan Sircar 2019-12-07 12:32:20 +05:30
parent 434e308f24
commit 6ecdf34b64
4 changed files with 30 additions and 2814 deletions

File diff suppressed because it is too large Load Diff

View File

@ -20,8 +20,7 @@
"devDependencies": {
"browserify": "^16.5.0",
"browserify-css": "^0.15.0",
"browserify-shim": "^3.8.14",
"webpack": "^4.41.2"
"browserify-shim": "^3.8.14"
},
"browserify": {
"transform": [

View File

@ -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