Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support nested plugins #176

Merged
merged 14 commits into from
Oct 18, 2022
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"test:build": "jiti scripts/buildFixtures.ts"
},
"dependencies": {
"@antfu/utils": "^0.5.2",
"acorn": "^8.8.0",
"chokidar": "^3.5.3",
"webpack-sources": "^3.2.3",
Expand All @@ -53,7 +54,7 @@
"jiti": "^1.16.0",
"magic-string": "^0.26.3",
"picocolors": "^1.0.0",
"rollup": "^2.79.0",
"rollup": "^3.1.0",
"tsup": "^6.2.3",
"typescript": "^4.8.3",
"vite": "^3.1.3",
Expand Down
18 changes: 16 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/buildFixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function run () {
execSync('npx vite build', { cwd: path, stdio: 'inherit' })
console.log(c.red(c.inverse(c.bold('\n Rollup '))), name, '\n')
execSync('npx rollup --version', { cwd: path, stdio: 'inherit' })
execSync('npx rollup -c', { cwd: path, stdio: 'inherit' })
execSync('npx rollup --bundleConfigAsCjs -c', { cwd: path, stdio: 'inherit' })
console.log(c.blue(c.inverse(c.bold('\n Webpack '))), name, '\n')
execSync('npx webpack --version', { cwd: path, stdio: 'inherit' })
execSync('npx webpack', { cwd: path, stdio: 'inherit' })
Expand Down