Skip to content

Commit b508781

Browse files
authored
Revert "fix: work around npm6/postcss8 hoisting issue (#6358)"
This reverts commit 27b4263.
1 parent bb01585 commit b508781

File tree

4 files changed

+0
-49
lines changed

4 files changed

+0
-49
lines changed

packages/@vue/cli-service/bin/postinstall.js

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

packages/@vue/cli-service/generator/hotfix-npm6only.js

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

packages/@vue/cli-service/generator/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
const fs = require('fs-extra')
2-
const path = require('path')
3-
41
module.exports = (api, options) => {
52
api.render('./template', {
63
doesCompile: api.hasPlugin('babel') || api.hasPlugin('typescript')
@@ -77,8 +74,4 @@ module.exports = (api, options) => {
7774
if (options.configs) {
7875
api.extendPackage(options.configs)
7976
}
80-
81-
if (fs.existsSync(path.resolve(__dirname, './hotfix.js'))) {
82-
require('./hotfix')(api, options, options)
83-
}
8477
}

packages/@vue/cli-service/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
"bin": {
88
"vue-cli-service": "bin/vue-cli-service.js"
99
},
10-
"scripts": {
11-
"postinstall": "node bin/postinstall.js"
12-
},
1310
"repository": {
1411
"type": "git",
1512
"url": "git+https://github.com/vuejs/vue-cli.git",

0 commit comments

Comments
 (0)