]> git.r.bdr.sh - rbdr/junction/blame_incremental - extension/webpack.config.js
New url
[rbdr/junction] / extension / webpack.config.js
... / ...
CommitLineData
1// Imports: Dependencies
2const path = require('path');
3// require("babel-register");// Webpack Configuration
4const 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
25module.exports = config;