Skip to content

Commit

Permalink
fix(defaulttheme): export an object instead of string
Browse files Browse the repository at this point in the history
as the new way to purge is to pass the entire node_modules path, there is no need to export a
stringified version of the theme anymore
  • Loading branch information
estevanmaito committed Jul 14, 2020
1 parent 4e39afa commit 9a720e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions defaultTheme.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const defaultTheme = require('./lib/default')
const defaultTheme = require('./lib/defaultTheme')

module.exports = JSON.stringify(defaultTheme)
module.exports = defaultTheme
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"test:coverage": "jest --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"build:lib": "babel src/themes --out-dir lib",
"prebuild": "rimraf dist && npm run build:lib",
"build:lib": "babel src/themes/default.js --out-file lib/defaultTheme.js",
"prebuild": "rimraf dist lib && npm run build:lib",
"build": "webpack",
"prerelease": "npm run build",
"release": "release-it",
Expand Down

0 comments on commit 9a720e5

Please sign in to comment.