Skip to content

Commit 73c745b

Browse files
committed
fix: fix static files serving issue
1 parent a924629 commit 73c745b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/smooth/src/config/webpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function getTargetConfig(target, { config, dev }) {
143143
output: {
144144
path: path.join(config.cachePath, target, 'static'),
145145
filename: dev ? '[name].js' : '[name]-bundle-[chunkhash:8].js',
146-
publicPath: `/${target}/static/`,
146+
publicPath: `/web/static/`,
147147
libraryTarget: target === 'node' ? 'commonjs2' : undefined,
148148
},
149149
plugins: [

0 commit comments

Comments
 (0)