mirror of
https://github.com/bendtherules/preact-publicpath-bug.git
synced 2026-08-18 13:52:50 +00:00
Add publicpath=/frame/
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import webpack from 'webpack';
|
||||
|
||||
const publicPath = '/frame/';
|
||||
|
||||
export default (config, env, helpers) => {
|
||||
config.output.publicPath = publicPath;
|
||||
|
||||
if (env.production) {
|
||||
}
|
||||
else {
|
||||
config.devServer.publicPath = publicPath;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user