Skip to content

Commit

Permalink
chore: adjust typings dir
Browse files Browse the repository at this point in the history
  • Loading branch information
fupeng1 authored and harttle committed Jan 14, 2024
1 parent 85f5b32 commit 3632623
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
7 changes: 4 additions & 3 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
})
Expand Down

0 comments on commit 3632623

Please sign in to comment.