build: simplify compiler package setup
This commit is contained in:
parent
360ab65117
commit
2e9a342652
@ -1 +0,0 @@
|
||||
# @vue/compiler-core
|
@ -1,7 +0,0 @@
|
||||
'use strict'
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./dist/compiler-core.cjs.prod.js')
|
||||
} else {
|
||||
module.exports = require('./dist/compiler-core.cjs.js')
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "@vue/compiler-core",
|
||||
"version": "3.0.0-alpha.1",
|
||||
"description": "@vue/compiler-core",
|
||||
"main": "index.js",
|
||||
"module": "dist/compiler-core.esm-bundler.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vuejs/vue.git"
|
||||
},
|
||||
"keywords": [
|
||||
"vue"
|
||||
],
|
||||
"author": "Evan You",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/vuejs/vue/issues"
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler-core#readme"
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
dist/packages
|
@ -1 +0,0 @@
|
||||
# @vue/compiler-dom
|
@ -1,7 +0,0 @@
|
||||
'use strict'
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./dist/compiler-dom.cjs.prod.js')
|
||||
} else {
|
||||
module.exports = require('./dist/compiler-dom.cjs.js')
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
dist/packages
|
@ -1 +0,0 @@
|
||||
# @vue/compiler-server
|
@ -1,7 +0,0 @@
|
||||
'use strict'
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./dist/compiler-server.cjs.prod.js')
|
||||
} else {
|
||||
module.exports = require('./dist/compiler-server.cjs.js')
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "@vue/compiler-server",
|
||||
"version": "3.0.0-alpha.1",
|
||||
"description": "@vue/compiler-server",
|
||||
"main": "index.js",
|
||||
"module": "dist/compiler-server.esm-bundler.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vuejs/vue.git"
|
||||
},
|
||||
"keywords": [
|
||||
"vue"
|
||||
],
|
||||
"author": "Evan You",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/vuejs/vue/issues"
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler-server#readme"
|
||||
}
|
1
packages/compiler/README.md
Normal file
1
packages/compiler/README.md
Normal file
@ -0,0 +1 @@
|
||||
# @vue/compiler
|
7
packages/compiler/index.js
Normal file
7
packages/compiler/index.js
Normal file
@ -0,0 +1,7 @@
|
||||
'use strict'
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./dist/compiler.cjs.prod.js')
|
||||
} else {
|
||||
module.exports = require('./dist/compiler.cjs.js')
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "@vue/compiler-dom",
|
||||
"name": "@vue/compiler",
|
||||
"version": "3.0.0-alpha.1",
|
||||
"description": "@vue/compiler-dom",
|
||||
"description": "@vue/compiler",
|
||||
"main": "index.js",
|
||||
"module": "dist/compiler-dom.esm-bundler.js",
|
||||
"module": "dist/compiler.esm-bundler.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -17,5 +17,5 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/vuejs/vue/issues"
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler-dom#readme"
|
||||
}
|
||||
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler#readme"
|
||||
}
|
@ -1 +1,3 @@
|
||||
describe('observer/collections', () => {})
|
||||
describe('observer/collections', () => {
|
||||
describe('Map', () => {})
|
||||
})
|
||||
|
@ -24,9 +24,7 @@
|
||||
"@vue/scheduler": ["packages/scheduler/src"],
|
||||
"@vue/renderer-dom": ["packages/renderer-dom/src"],
|
||||
"@vue/renderer-server": ["packages/renderer-server/src"],
|
||||
"@vue/compiler-core": ["packages/compiler-core/src"],
|
||||
"@vue/compiler-dom": ["packages/compiler-dom/src"],
|
||||
"@vue/compiler-server": ["packages/compiler-server/src"]
|
||||
"@vue/compiler": ["packages/compiler-core/src"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
|
Loading…
Reference in New Issue
Block a user