Skip to content

Commit

Permalink
[Patch] transfile proxy polyfill (#112)
Browse files Browse the repository at this point in the history
<!--
Before creating a pull request, please read our contributing guidelines:

CONTRIBUTING.md

Remember: Unless it is an urgent bugfix, please use `next` as the base for your PR

Please fill the following form (leave what's relevant)
-->

| Q                | A
| ---------------- | ---
| Bug fix?         | yes
| New feature?     | no
| Breaking change? | no
| Deprecations?    | no
| Documentation?   | no
| Tests added?     | no

<!-- Describe your changes below in detail. -->

Fixes an issue in which Proxy Polyfill didn't get transpiled and added as es6 to the bundle.
  • Loading branch information
ealush authored Mar 4, 2019
1 parent 84d659e commit 1517958
Show file tree
Hide file tree
Showing 9 changed files with 247 additions and 94 deletions.
9 changes: 0 additions & 9 deletions .babelrc

This file was deleted.

22 changes: 22 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = (api) => {
api.cache(true);

const presets = [
'@babel/preset-flow',
'@babel/preset-env'
];

const plugins = [
'@babel/plugin-transform-flow-strip-types',
['webpack-aliases', {
'config': 'webpack.config.js'
}],
'babel-plugin-add-module-exports',
'@babel/plugin-proposal-class-properties'
];

return {
presets,
plugins
};
};
62 changes: 32 additions & 30 deletions dist/passable.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/passable.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 1517958

Please sign in to comment.