Skip to content

Commit

Permalink
fix(build): resolve .js ext
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Jun 22, 2023
1 parent 64c858e commit 1841c06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ const common = {
input: './src/index.ts',
plugins: [
commonjs(),
nodeResolve({ extensions: ['.ts'] }),
nodeResolve({ extensions: ['.ts', '.js'] }),
babel({
babelHelpers: 'bundled',
extensions: ['.ts'],
extensions: ['.ts', '.js'],
}),
],
external: ['parse-numeric-range', 'shiki'],
Expand Down

0 comments on commit 1841c06

Please sign in to comment.