Skip to content

Commit

Permalink
ensure formatting of cjs module
Browse files Browse the repository at this point in the history
  • Loading branch information
ShMcK committed Oct 8, 2018
1 parent 4d6ff5e commit ddaa248
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
40 changes: 20 additions & 20 deletions package-lock.json

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

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rematch/core",
"version": "1.0.5",
"version": "1.0.6",
"description": "A Redux Framework",
"keywords": [
"@rematch",
Expand Down Expand Up @@ -47,8 +47,8 @@
"redux": "4.0.0"
},
"devDependencies": {
"@types/jest": "^23.3.2",
"@types/node": "^10.11.3",
"@types/jest": "^23.3.3",
"@types/node": "^10.11.4",
"bundlesize": "^0.17.0",
"coveralls": "^3.0.1",
"cross-env": "^5.2.0",
Expand All @@ -59,13 +59,13 @@
"redux-persist": "^5.9.1",
"reselect": "^3.0.1",
"rimraf": "^2.6.2",
"rollup": "^0.66.2",
"rollup": "^0.66.4",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-typescript2": "^0.17.0",
"rollup-plugin-typescript2": "^0.17.1",
"rollup-plugin-uglify": "^6.0.0",
"ts-jest": "^23.10.3",
"ts-jest": "^23.10.4",
"tslint": "^5.11.0",
"typescript": "^3.1.1",
"uglify-es": "^3.3.9"
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const development = {
}

// point user to needed build
const root = `'use strict'module.exports=process.env.NODE_ENV==='production'?require('./rematch.min.js'):require('./rematch.js')`
const root = `"use strict";module.exports="production"===process.env.NODE_ENV?require("./rematch.min.js"):require("./rematch.js");`

const rootFile = folder => {
mkdirSync(join('dist', folder))
Expand Down

0 comments on commit ddaa248

Please sign in to comment.