Skip to content

Commit

Permalink
Set default base
Browse files Browse the repository at this point in the history
This fixes dynamic imports in production mode.
  • Loading branch information
kucrut committed Sep 1, 2022
1 parent 1f80efa commit 3cfd477
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type InputOption = ResolvedConfig[ 'build' ][ 'rollupOptions' ][ 'input' ];
*/
export default function create_config( input: InputOption, out_dir: string, extra_config?: ExtraConfig ): UserConfig {
let config: UserConfig = {
base: './',
build: {
emptyOutDir: true,
manifest: true,
Expand Down

0 comments on commit 3cfd477

Please sign in to comment.