postcss-plugin-constparse 3.6.0-canary.0 → 3.6.0-canary.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,7 +3,7 @@ const PLATFORM = {
3
3
  H5: 'h5'
4
4
  }
5
5
 
6
- const postcssPluginConstparse = (opts = {}) => {
6
+ module.exports = (opts = {}) => {
7
7
  opts = Object.assign({
8
8
  constants: [{
9
9
  key: 'taro-tabbar-height',
@@ -24,5 +24,4 @@ const postcssPluginConstparse = (opts = {}) => {
24
24
  }
25
25
  }
26
26
 
27
- postcssPluginConstparse.postcss = true
28
- export default postcssPluginConstparse
27
+ module.exports.postcss = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss-plugin-constparse",
3
- "version": "3.6.0-canary.0",
3
+ "version": "3.6.0-canary.2",
4
4
  "description": "parse constants defined in config",
5
5
  "main": "index.js",
6
6
  "author": "Simba",