5htp 0.6.2-5 → 0.6.2-7
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.
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
// Plugons
|
|
2
2
|
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
|
3
|
-
import lessToJs from 'less-vars-to-js';
|
|
4
3
|
|
|
5
|
-
import
|
|
6
|
-
import cli from '@cli';
|
|
7
|
-
|
|
8
|
-
import type App from '../../../app';
|
|
4
|
+
import type { App } from '../../../app';
|
|
9
5
|
|
|
10
6
|
module.exports = (app: App, dev: Boolean, client: boolean) => {
|
|
11
7
|
|
|
@@ -31,11 +27,25 @@ module.exports = (app: App, dev: Boolean, client: boolean) => {
|
|
|
31
27
|
loader: 'css-loader',
|
|
32
28
|
options: {
|
|
33
29
|
// CSS Loader https://github.com/webpack/css-loader
|
|
34
|
-
importLoaders: 1,
|
|
30
|
+
importLoaders: 1, // let postcss run on @imports
|
|
35
31
|
sourceMap: dev
|
|
36
32
|
},
|
|
37
33
|
},
|
|
38
34
|
|
|
35
|
+
// Postcss
|
|
36
|
+
{
|
|
37
|
+
loader: 'postcss-loader',
|
|
38
|
+
options: {
|
|
39
|
+
postcssOptions: {
|
|
40
|
+
plugins: [
|
|
41
|
+
/* Tailwind V4 *///'@tailwindcss/postcss',
|
|
42
|
+
/* Tailwind V3 */require('tailwindcss'),
|
|
43
|
+
require('autoprefixer'),
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
|
|
39
49
|
{
|
|
40
50
|
test: /\.less$/,
|
|
41
51
|
loader: 'less-loader',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "5htp",
|
|
3
3
|
"description": "Convenient TypeScript framework designed for Performance and Productivity.",
|
|
4
|
-
"version": "0.6.2-
|
|
4
|
+
"version": "0.6.2-7",
|
|
5
5
|
"author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
|
|
6
6
|
"repository": "git://github.com/gaetanlegac/5htp.git",
|
|
7
7
|
"license": "MIT",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"@types/universal-analytics": "^0.4.5",
|
|
41
41
|
"@types/webpack-env": "^1.16.2",
|
|
42
42
|
"@types/ws": "^7.4.7",
|
|
43
|
+
"autoprefixer": "^10.4.21",
|
|
43
44
|
"babel-loader": "^10.0.0",
|
|
44
45
|
"babel-plugin-glob-import": "^0.0.9-1",
|
|
45
46
|
"babel-plugin-transform-imports": "^2.0.0",
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
"node-cmd": "^5.0.0",
|
|
68
69
|
"node-notifier": "^10.0.0",
|
|
69
70
|
"null-loader": "^4.0.1",
|
|
71
|
+
"postcss-loader": "^8.2.0",
|
|
70
72
|
"prompts": "^2.4.2",
|
|
71
73
|
"react-dev-utils": "^11.0.4",
|
|
72
74
|
"replace-once": "^1.0.0",
|
|
@@ -74,6 +76,7 @@
|
|
|
74
76
|
"serialize-javascript": "^6.0.2",
|
|
75
77
|
"sharp": "^0.34.3",
|
|
76
78
|
"speed-measure-webpack-plugin": "^1.5.0",
|
|
79
|
+
"tailwindcss": "^3.4.1",
|
|
77
80
|
"terser-webpack-plugin": "^5.2.4",
|
|
78
81
|
"ts-alias": "^0.0.7",
|
|
79
82
|
"ts-node": "^10.9.1",
|