]> git.r.bdr.sh - rbdr/junction/blob - extension/webpack.config.js
Add docker files
[rbdr/junction] / extension / webpack.config.js
1 // Imports: Dependencies
2 const path = require('path');
3 // require("babel-register");// Webpack Configuration
4 const config = {
5
6 // Entry
7 entry:'./content_script.js', // Output
8 output: {
9 path: path.resolve(__dirname, 'build'),
10 filename: 'content_script.js',
11 }, // Loaders
12 module: {
13 rules : [
14 // JavaScript/JSX Files
15 {
16 test: /\.js$/,
17 exclude: /node_modules/,
18 use: ['babel-loader'],
19 },
20 ]
21 },
22 node: { fs: 'empty' },// Plugins
23 plugins: [],
24 };// Exports
25 module.exports = config;