diff options
| author | rknol <rknol@MacBook-Pro-2.fritz.box> | 2020-09-27 19:46:27 +0200 |
|---|---|---|
| committer | rknol <rknol@MacBook-Pro-2.fritz.box> | 2020-09-27 19:46:27 +0200 |
| commit | 344f7c1320d512a423c9f2133959417823f5cc83 (patch) | |
| tree | 48a2fe7dc64c08d2980416f26fc7072abeffd706 /extension/webpack.config.js | |
| parent | cdeb0efb1e64bd059c0bf8af0cf89c24200d9468 (diff) | |
More stuff
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 |