blob: 9c6ad83ecb310df1710767d250214e8214ff87e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
|