aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorcaleb.mabry.15@cnu.edu <caleb.mabry.15@cnu.edu>2022-03-05 22:52:59 -0500
committercaleb.mabry.15@cnu.edu <caleb.mabry.15@cnu.edu>2022-03-05 22:52:59 -0500
commitea0e9c20a9d5e28afcd8a8cbbbb5d29b318d7a3a (patch)
tree3eb2e8e4d23649c343a8a50c3c4a2dcecb0fdbbe /webpack.config.js
parentb95861ced23ee942a1991fd9157164d8e97487c7 (diff)
Added ignore file
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js76
1 files changed, 38 insertions, 38 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 2754b21..33c639f 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -3,43 +3,43 @@
const path = require('path');
module.exports = {
- entry: {
- ui: './webAO/ui.js',
- client: './webAO/client.js',
- master: './webAO/master.js'
- },
- output: {
- path: path.resolve(__dirname, 'webAO'),
- filename: '[name].b.js'
- },
- module: {
- rules: [
- {
- test: /\.m?js$/,
- exclude: /(node_modules|bower_components)/,
- use: {
- loader: 'babel-loader',
- options: {
- presets: [
- [
- '@babel/preset-env', {
- useBuiltIns: 'usage',
- targets: [
- "defaults",
- "Safari > 3",
- "Opera > 8",
- "Android > 3"
- ],
- corejs: 3
- }
- ]
- ]
- }
- }
- }
- ]
+ entry: {
+ ui: './webAO/ui.js',
+ client: './webAO/client.js',
+ master: './webAO/master.js',
+ },
+ output: {
+ path: path.resolve(__dirname, 'webAO'),
+ filename: '[name].b.js',
+ },
+ module: {
+ rules: [
+ {
+ test: /\.m?js$/,
+ exclude: /(node_modules|bower_components)/,
+ use: {
+ loader: 'babel-loader',
+ options: {
+ presets: [
+ [
+ '@babel/preset-env', {
+ useBuiltIns: 'usage',
+ targets: [
+ 'defaults',
+ 'Safari > 3',
+ 'Opera > 8',
+ 'Android > 3',
+ ],
+ corejs: 3,
+ },
+ ],
+ ],
+ },
+ },
},
+ ],
+ },
- devtool: 'source-map',
- mode: 'production'
-}; \ No newline at end of file
+ devtool: 'source-map',
+ mode: 'production',
+};