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

chore: use esno to replace ts-node #8162

Merged
merged 12 commits into from
May 24, 2022
Prev Previous commit
Next Next commit
chore: update
antfu committed May 13, 2022
commit 6a624db4ff932e80423795306f9eb7e261323291
2 changes: 1 addition & 1 deletion packages/vite/rollup.config.js
Original file line number Diff line number Diff line change
@@ -172,7 +172,7 @@ const createNodeConfig = (isProduction) => {
pattern: /: require,/g,
replacement: `: eval('require'),`
},
// postcss-load-config calls require after register esno
// postcss-load-config calls require after register ts-node
'postcss-load-config/src/index.js': {
src: `require(configFile)`,
replacement: `eval('require')(configFile)`