aboutsummaryrefslogtreecommitdiff
path: root/extension/webpack.config.js
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-27 21:00:40 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-27 21:00:40 +0200
commitd4fb48eb3793a93a8726652692b68592333dd778 (patch)
tree590ba5ea97ac87fbd01255932321a5239b04079d /extension/webpack.config.js
parent6393c915648cc9d2941b8c9194a13ff078dafae5 (diff)
parent90b43ea817f95364b429c4b55a565634b3d59638 (diff)
Merge branch 'main' into rbdr-content-script
Diffstat (limited to 'extension/webpack.config.js')
-rw-r--r--extension/webpack.config.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/extension/webpack.config.js b/extension/webpack.config.js
new file mode 100644
index 0000000..9c6ad83
--- /dev/null
+++ b/extension/webpack.config.js
@@ -0,0 +1,25 @@
+// Imports: Dependencies
+const path = require('path');
+// require("babel-register");// Webpack Configuration
+const config = {
+
+ // Entry
+ entry:'./junction.js', // Output
+ output: {
+ path: path.resolve(__dirname, 'build'),
+ filename: 'junction.js',
+ }, // Loaders
+ module: {
+ rules : [
+ // JavaScript/JSX Files
+ {
+ test: /\.jsx$/,
+ exclude: /node_modules/,
+ use: ['babel-loader'],
+ },
+ ]
+ },
+ node: { fs: 'empty' },// Plugins
+ plugins: [],
+};// Exports
+module.exports = config; \ No newline at end of file