Skip to content

Commit

Permalink
build: webpack.common.js 에 publicPath: '/' 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
solo5star committed Oct 10, 2023
1 parent b85ffa2 commit 9c63c6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions client/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export default {
// https://github.com/TypeStrong/fork-ts-checker-webpack-plugin#installation
context: dirname(fileURLToPath(import.meta.url)),
entry: './src/index',
output: {
publicPath: '/',
},
resolve: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
Expand Down
1 change: 0 additions & 1 deletion client/webpack.production.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export default merge(webpackCommonConfig, {
// 번들링된 파일명을 수정하는 것은 storybook 구동에 영향을 주기 때문에
// production 빌드 시에만 사용하여야 합니다
filename: '[name].[contenthash].js',
publicPath: '/',
clean: true,
},
plugins: [
Expand Down

0 comments on commit 9c63c6d

Please sign in to comment.