Skip to content

Commit

Permalink
fix: fix the build on window, and hopefully this still works on linux
Browse files Browse the repository at this point in the history
Change-Id: I446ac3d379b4ea65335f41c919507173b916115b
  • Loading branch information
mtlljm committed Nov 3, 2023
1 parent 33cfb71 commit d7fb33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/webpack/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const config = async (env): Promise<Configuration> => ({
loader: 'swc-loader',
options: {
jsc: {
baseUrl: path.resolve(__dirname, 'src'),
baseUrl: process.platform === 'win32' ? './src': path.resolve(__dirname, 'src'),
target: 'es2015',
loose: false,
parser: {
Expand Down

0 comments on commit d7fb33b

Please sign in to comment.