Skip to content

Commit 122dc43

Browse files
author
Andrew Welch
committed
Merge branch 'broken-tailwind-2.x' into works-tailwind-1.x
# Conflicts: # buildchain/package-lock.json # buildchain/package.json
2 parents 50dad29 + fa40226 commit 122dc43

25 files changed

+3662
-14211
lines changed

buildchain/package-lock.json

Lines changed: 3636 additions & 13430 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

buildchain/package.json

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -55,61 +55,40 @@
5555
"@babel/preset-typescript": "^7.12.1",
5656
"@babel/register": "^7.12.1",
5757
"@babel/runtime": "^7.12.1",
58-
"@gfx/zopfli": "^1.0.15",
5958
"@types/node": "^14.11.10",
6059
"@types/webpack-env": "^1.15.3",
6160
"@typescript-eslint/eslint-plugin": "^3.6.1",
6261
"@typescript-eslint/parser": "^3.6.1",
6362
"@vue/compiler-sfc": "^3.0.1",
6463
"babel-loader": "^8.1.0",
6564
"clean-webpack-plugin": "^3.0.0",
66-
"compression-webpack-plugin": "^6.0.0",
67-
"copy-webpack-plugin": "^6.3.0",
68-
"create-symlink-webpack-plugin": "^1.0.0",
69-
"critical": "^2.0.0",
70-
"critical-css-webpack-plugin": "^2.0.0",
7165
"css-loader": "^5.0.0",
7266
"css-minimizer-webpack-plugin": "^1.1.5",
7367
"cssnano": "^4.1.0",
7468
"dotenv": "^6.1.0",
7569
"eslint": "^7.4.0",
76-
"eslint-plugin-vue": "^7.0.0-alpha.10",
77-
"favicons-webpack-plugin": "^5.0.0-alpha.3",
78-
"file-loader": "^6.0.0",
70+
"eslint-plugin-vue": "^7.2.0",
7971
"glob-all": "^3.1.0",
80-
"html-webpack-plugin": "^4.5.0",
8172
"ignore-loader": "^0.1.2",
82-
"imagemin": "^7.0.0",
83-
"imagemin-gifsicle": "^7.0.0",
84-
"imagemin-mozjpeg": "^9.0.0",
85-
"imagemin-optipng": "^8.0.0",
86-
"imagemin-svgo": "^8.0.0",
87-
"imagemin-webp": "^6.0.0",
88-
"imagemin-webp-webpack-plugin": "^3.3.0",
89-
"img-loader": "^3.0.0",
9073
"mini-css-extract-plugin": "^1.2.0",
9174
"postcss": "^8.1.1",
92-
"postcss-import": "^12.0.0",
75+
"postcss-import": "^13.0.0",
9376
"postcss-loader": "^4.0.0",
94-
"save-remote-file-webpack-plugin": "^1.0.0",
9577
"style-loader": "^2.0.0",
9678
"stylelint": "^13.7.0",
9779
"stylelint-config-recommended": "^3.0.0",
98-
"symlink-webpack-plugin": "^0.0.4",
99-
"tailwindcss": "^1.0.0",
80+
"tailwindcss": "^2.0.0",
10081
"terser-webpack-plugin": "^5.0.0",
10182
"ts-loader": "^8.0.5",
10283
"tsconfig-paths-webpack-plugin": "^3.3.0",
10384
"typescript": "latest",
10485
"typings-for-css-modules-loader": "^1.7.0",
105-
"vue-loader": "^16.0.0-rc.1",
86+
"vue-loader": "^16.1.0",
10687
"webpack": "^5.3.0",
107-
"webpack-bundle-analyzer": "^4.0.0-rc1",
10888
"webpack-cli": "^4.1.0",
109-
"webpack-dev-server": "^3.3.0",
110-
"webpack-manifest-plugin": "^3.0.0-rc.0",
111-
"webpack-merge": "^5.3.0",
112-
"workbox-webpack-plugin": "^6.0.0-alpha.3"
89+
"webpack-dev-server": "^4.0.0-beta.0",
90+
"webpack-manifest-plugin": "^3.0.0",
91+
"webpack-merge": "^5.3.0"
11392
},
11493
"homepage": "https://github.com/example-developer/example-project",
11594
"keywords": [

buildchain/webpack-configs/app.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ module.exports = (type = 'modern', settings) => {
2727
path.resolve(__dirname, '../node_modules'),
2828
],
2929
},
30+
stats: {
31+
colors: true,
32+
},
3033
});
3134
// configs
3235
const configs = {

buildchain/webpack-configs/bundle-analyzer.config.js

Lines changed: 0 additions & 45 deletions
This file was deleted.

buildchain/webpack-configs/compression.config.js

Lines changed: 0 additions & 74 deletions
This file was deleted.

buildchain/webpack-configs/copy.config.js

Lines changed: 0 additions & 43 deletions
This file was deleted.

buildchain/webpack-configs/create-symlink.config.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

buildchain/webpack-configs/critical.config.js

Lines changed: 0 additions & 63 deletions
This file was deleted.

buildchain/webpack-configs/dev-server.config.js

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ module.exports = (type = 'modern', settings) => {
1212
// common config
1313
const common = () => ({
1414
devServer: {
15-
contentBase: path.resolve(__dirname, settings.contentBase()),
16-
disableHostCheck: true,
15+
client: {
16+
progress: false,
17+
},
18+
dev: {
19+
publicPath: '/',
20+
},
21+
firewall: false,
1722
headers: {
1823
'Access-Control-Allow-Origin': '*'
1924
},
@@ -23,11 +28,13 @@ module.exports = (type = 'modern', settings) => {
2328
overlay: true,
2429
port: settings.port(),
2530
public: settings.public(),
26-
publicPath: '/',
27-
watchContentBase: true,
28-
watchOptions: {
29-
poll: !!parseInt(settings.poll()),
30-
ignored: /node_modules/,
31+
static: {
32+
directory: path.resolve(__dirname, settings.contentBase()),
33+
publicPath: '/',
34+
watch: {
35+
poll: !!parseInt(settings.poll()),
36+
ignored: /node_modules/,
37+
},
3138
},
3239
},
3340
devtool: false,
@@ -48,7 +55,6 @@ module.exports = (type = 'modern', settings) => {
4855
exclude: /\.(pcss|css)($|\?)/i,
4956
}),
5057
],
51-
target: 'web',
5258
});
5359
// configs
5460
const configs = {

0 commit comments

Comments
 (0)