Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
Create flat bundles & ship module entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Feb 11, 2018
1 parent 222e986 commit 6ab8f9a
Show file tree
Hide file tree
Showing 42 changed files with 6,764 additions and 1,882 deletions.
4 changes: 1 addition & 3 deletions packages/react-redux-subspace/.babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"presets": ["env", "react", "stage-3"]
}
{ "presets": ["./.babelrc.js"] }
14 changes: 14 additions & 0 deletions packages/react-redux-subspace/.babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const { BABEL_ENV, NODE_ENV } = process.env

const cjs = BABEL_ENV === 'cjs' || NODE_ENV === 'test'

module.exports = {
presets: [
['env', { loose: true, modules: false }],
'react',
'stage-3',
],
plugins: [
cjs && 'transform-es2015-modules-commonjs',
].filter(Boolean),
}
11 changes: 0 additions & 11 deletions packages/react-redux-subspace/.npmignore

This file was deleted.

Loading

0 comments on commit 6ab8f9a

Please sign in to comment.