Skip to content

Commit

Permalink
Merge pull request #27 from personnummer/feature/fix-build
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
frozzare authored Jun 16, 2020
2 parents f4dba14 + 92fb98e commit 8ec21d2
Show file tree
Hide file tree
Showing 6 changed files with 279 additions and 107 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

8 changes: 8 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const isProd = process.env.NODE_ENV === 'production';

module.exports = {
presets: [
['@jitesoft/main', { exclude: isProd ? ['transform-runtime'] : [] }],
'@babel/preset-typescript',
],
};
Loading

0 comments on commit 8ec21d2

Please sign in to comment.