Skip to content

Commit 8db3c4e

Browse files
committed
Update build script's local path for legacy env module
1 parent f19de23 commit 8db3c4e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async function fileExists(file) {
2525
const esbuildOptions = {
2626
logLevel: 'info',
2727
jsx: 'automatic',
28-
tsconfig: 'env/tsconfig.common.json',
28+
tsconfig: 'env/legacy/tsconfig.common.json',
2929
plugins: [
3030
// Built ES module format expects import from .js
3131
transformExtPlugin({ outExtension: { '.ts': '.js' } }),

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"start": "wp-env start",
1212
"start:update": "wp-env start --update",
1313
"stop": "wp-env stop",
14-
"build": "npm run clean && node build.js && npm run build:types",
15-
"build:types": "tsc --project env/tsconfig.types.json",
14+
"build": "npm run clean && node build.js",
15+
"build:types": "tsc --project env/legacy/tsconfig.types.json",
1616
"clean": "rm -rf build",
1717
"dev:libs": "roll dev",
1818
"build:libs": "roll build",

0 commit comments

Comments
 (0)