]> git.r.bdr.sh - rbdr/junction/blob - extension/webpack.config.js
More stuff
[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:'./junction.js', // Output
8 output: {
9 path: path.resolve(__dirname, 'build'),
10 filename: 'junction.js',
11 }, // Loaders
12 module: {
13 rules : [
14 // JavaScript/JSX Files
15 {
16 test: /\.jsx$/,
17 exclude: /node_modules/,
18 use: ['babel-loader'],
19 },
20 ]
21 },
22 node: { fs: 'empty' },// Plugins
23 plugins: [],
24 };// Exports
25 module.exports = config;