strip unnecessary imports from js app files
This commit is contained in:
14
webpack.config.js
Normal file
14
webpack.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
const webpack = require('webpack');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
admin: __dirname + "/resources/js/admin/app.js",
|
||||
app: __dirname + "/resources/js/frontend/app.js",
|
||||
},
|
||||
output: {
|
||||
filename: "[name].js",
|
||||
path: __dirname + "/public/js/",
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user