about summary refs log tree commit diff
path: root/nut-score/UNUSED_webpack.config.js
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-17T22·40+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-17T22·40+0000
commit209fdf5726a7e80ad4b99e2a6505b6522094a774 (patch)
tree3efd1a58b882ae0fbef08865d4629467147dd564 /nut-score/UNUSED_webpack.config.js
parent166aed6e80f902ce232c0f5e9b76eceef69a714b (diff)
Add ReasonML boilerplate
After some toil, I finally support basic ReasonML starter code.

I'm adding it to the nut-score directory because I would like to make a simple
webpage that render some nutritional facts about nuts with respect to the
ketogenic diet.

I'm not sure if I should include or exclude te .bs.js files.

See the README.md for more information.
Diffstat (limited to 'nut-score/UNUSED_webpack.config.js')
-rw-r--r--nut-score/UNUSED_webpack.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/nut-score/UNUSED_webpack.config.js b/nut-score/UNUSED_webpack.config.js
new file mode 100644
index 000000000000..3260e8f645e1
--- /dev/null
+++ b/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