diff options
Diffstat (limited to 'extension/webpack.config.js')
| -rw-r--r-- | extension/webpack.config.js | 25 |
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 |