diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-11-16 17:03:07 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-11-16 17:03:07 +0100 |
| commit | 92881093ae19e4d76193447c187028aee5cbe4c7 (patch) | |
| tree | 8e3b4baa4ea790b5e9b30e2fed6ed4f1b871cc5c /animism-align/webpack.config.site.js | |
| parent | 77489cf313dd47122b9be80f6d49caf513a9e03c (diff) | |
getting the viewer-only version of the site working. flask command to run test server
Diffstat (limited to 'animism-align/webpack.config.site.js')
| -rw-r--r-- | animism-align/webpack.config.site.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/animism-align/webpack.config.site.js b/animism-align/webpack.config.site.js index 7b76b93..bce064f 100644 --- a/animism-align/webpack.config.site.js +++ b/animism-align/webpack.config.site.js @@ -61,7 +61,16 @@ module.exports = { presets: ['@babel/preset-react'], plugins: [ "@babel/plugin-transform-runtime", - ], + [ "@babel/plugin-proposal-class-properties", { "loose": true } ], + "transform-async-to-generator", + ["module-resolver", { + "root": ["./frontend"], + "alias": { + "app/store": "./frontend/site/store", + "app/actions": "./frontend/site/actions", + } + }] + ] } } ] |
