about summary refs log tree commit diff
path: root/website/sandbox/nut-score/UNUSED_webpack.config.js
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-24T12·29+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-24T12·29+0000
commit57b58e9b2fe2a1b178f42bc16d7c5ab1f8da9cdd (patch)
treef73b035061d0d1cdf9e7cf1545e2b48d654065b8 /website/sandbox/nut-score/UNUSED_webpack.config.js
parent2551b41d735cb1446fa5ecae496d079ca4741e46 (diff)
Move nut-score into website/sandbox
Also move some .gitignore entries from the top-level .gitignore into a
subdirectory .gitignore.
Diffstat (limited to 'website/sandbox/nut-score/UNUSED_webpack.config.js')
-rw-r--r--website/sandbox/nut-score/UNUSED_webpack.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/website/sandbox/nut-score/UNUSED_webpack.config.js b/website/sandbox/nut-score/UNUSED_webpack.config.js
new file mode 100644
index 000000000000..3260e8f645e1
--- /dev/null
+++ b/website/sandbox/nut-score/UNUSED_webpack.config.js
@@ -0,0 +1,14 @@
+const path = require('path');
+
+module.exports = {
+  entry: './src/Index.bs.js',
+  // If you ever want to use webpack during development, change 'production'
+  // to 'development' as per webpack documentation. Again, you don't have to
+  // use webpack or any other bundler during development! Recheck README if
+  // you didn't know this
+  mode: 'production',
+  output: {
+    path: path.join(__dirname, "bundleOutput"),
+    filename: 'index.js',
+  },
+};
\ No newline at end of file