chore: adjust typings dir

This commit is contained in:
fupeng1
2024-01-14 20:55:59 +08:00
committed by Jun Yang
parent 85f5b327fa
commit 3632623456
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"./dist/liquid.node.cjs.js": "./dist/liquid.browser.umd.js",
"./dist/liquid.node.esm.js": "./dist/liquid.browser.esm.js"
},
"types": "dist/src/index.d.ts",
"types": "dist/index.d.ts",
"engines": {
"node": ">=14"
},
+4 -3
View File
@@ -18,11 +18,12 @@ const treeshake = {
const tsconfig = (target) => ({
check: true,
tsconfigOverride: {
include: [ 'src' ],
exclude: [ 'test', 'benchmark' ],
include: ['src'],
exclude: ['test', 'benchmark'],
compilerOptions: {
target,
module: 'ES2015'
module: 'ES2015',
rootDir: 'src'
}
}
})