aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2018-05-23 14:41:08 +0200
committerGitHub <noreply@github.com>2018-05-23 14:41:08 +0200
commita7fda07f0373b524969595d05dc978b317299f7d (patch)
tree8db3115d3b0a78dc72d6186b750c189efbfb5276 /webpack.config.js
parent6a24543e4bb0c89f241bef0fc62ee8a992e86abd (diff)
parent334ee0e9feebe15926e5ad9a967c24cdf5264cdb (diff)
Merge pull request #2 from oldmud0/2.1
Ship webAO 2.1
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
new file mode 100644
index 0000000..98d96d0
--- /dev/null
+++ b/webpack.config.js
@@ -0,0 +1,25 @@
+module.exports = {
+ entry: {
+ ui: './webAO/ui.js',
+ client: './webAO/client.js'
+ },
+ output: {
+ filename: '[name].b.js'
+ },
+ module: {
+ rules: [
+ {
+ test: /\.js?$/,
+ exclude: /node_modules/,
+ use: {
+ loader: 'babel-loader',
+ options: {
+ presets: ['es2015']
+ }
+ }
+ }
+ ]
+ },
+
+ devtool: 'source-map'
+} \ No newline at end of file