@modern-js/plugin-tailwindcss 1.1.1 → 1.1.4-rc.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @modern-js/plugin-tailwindcss
2
2
 
3
+ ## 1.1.4-rc.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [b7fb82ec]
8
+ - @modern-js/utils@1.1.6-rc.0
9
+ - @modern-js/core@1.2.1-rc.0
10
+
11
+ ## 1.1.3
12
+
13
+ ### Patch Changes
14
+
15
+ - ca7dcb32: fix ignore style files in src dir
16
+ - Updated dependencies [90eeb72c]
17
+ - Updated dependencies [e04914ce]
18
+ - Updated dependencies [5a4c557e]
19
+ - Updated dependencies [e04914ce]
20
+ - Updated dependencies [ca7dcb32]
21
+ - Updated dependencies [ecb344dc]
22
+ - @modern-js/core@1.2.0
23
+ - @modern-js/utils@1.1.5
24
+
25
+ ## 1.1.2
26
+
27
+ ### Patch Changes
28
+
29
+ - 0fa83663: support more .env files
30
+ - Updated dependencies [6f7fe574]
31
+ - Updated dependencies [0fa83663]
32
+ - Updated dependencies [f594fbc8]
33
+ - @modern-js/core@1.1.2
34
+ - @modern-js/utils@1.1.2
35
+
3
36
  ## 1.1.1
4
37
 
5
38
  ### Patch Changes
@@ -44,7 +44,7 @@ var _default = core.createPlugin(() => ({
44
44
  const modernConfig = core.useResolvedConfigContext();
45
45
  const tailwindConfig = (0, _tailwind.getTailwindConfig)(modernConfig, {
46
46
  pureConfig: {
47
- content: ['./src/**/*.js', './src/**/*.jsx', './src/**/*.ts', './src/**/*.tsx', './styles/**/*.less', './styles/**/*.css', './styles/**/*.sass', './styles/**/*.scss']
47
+ content: ['./src/**/*.js', './src/**/*.jsx', './src/**/*.ts', './src/**/*.tsx', './src/**/*.less', './src/**/*.css', './src/**/*.sass', './src/**/*.scss', './styles/**/*.less', './styles/**/*.css', './styles/**/*.sass', './styles/**/*.scss']
48
48
  }
49
49
  });
50
50
  return require('tailwindcss')(tailwindConfig);
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.1.1",
14
+ "version": "1.1.4-rc.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -29,14 +29,14 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@babel/runtime": "^7",
32
- "@modern-js/utils": "^1.1.1",
32
+ "@modern-js/utils": "^1.1.6-rc.0",
33
33
  "lodash.clonedeep": "^4.5.0",
34
34
  "lodash.merge": "^4.6.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@modern-js/core": "^1.1.1",
38
- "@modern-js/module-tools": "^1.1.0",
39
- "@modern-js/plugin-testing": "^1.1.0",
37
+ "@modern-js/core": "^1.2.1-rc.0",
38
+ "@modern-js/module-tools": "^1.1.4",
39
+ "@modern-js/plugin-testing": "^1.2.2",
40
40
  "@types/jest": "^26",
41
41
  "@types/lodash.clonedeep": "^4.5.6",
42
42
  "@types/lodash.merge": "^4.6.6",
@@ -46,7 +46,7 @@
46
46
  "tailwindcss": "^2.0.4"
47
47
  },
48
48
  "peerDependencies": {
49
- "@modern-js/core": "^1.1.1",
49
+ "@modern-js/core": "^1.2.1-rc.0",
50
50
  "tailwindcss": "^2.0.4"
51
51
  },
52
52
  "sideEffects": false,
@@ -61,5 +61,6 @@
61
61
  "new": "modern new",
62
62
  "build": "modern build",
63
63
  "test": "modern test --passWithNoTests"
64
- }
64
+ },
65
+ "readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
65
66
  }
package/src/cli.ts CHANGED
@@ -59,6 +59,10 @@ export default core.createPlugin(
59
59
  './src/**/*.jsx',
60
60
  './src/**/*.ts',
61
61
  './src/**/*.tsx',
62
+ './src/**/*.less',
63
+ './src/**/*.css',
64
+ './src/**/*.sass',
65
+ './src/**/*.scss',
62
66
  './styles/**/*.less',
63
67
  './styles/**/*.css',
64
68
  './styles/**/*.sass',