mirror of
https://github.com/Steffo99/unisteffo.git
synced 2024-11-23 00:14:21 +00:00
Fix development server
This commit is contained in:
parent
a8ee623ea8
commit
09ce6140e8
1 changed files with 7 additions and 7 deletions
|
@ -40,13 +40,6 @@ export default function (config, env, helpers) {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
config.plugins[16].patterns.shift();
|
|
||||||
config.plugins[16].patterns.shift();
|
|
||||||
config.plugins[16].patterns.push({
|
|
||||||
from: "assets",
|
|
||||||
to: ""
|
|
||||||
});
|
|
||||||
|
|
||||||
config.plugins.push(
|
config.plugins.push(
|
||||||
new DefinePlugin({"process.env.RELEASE": `"${process.env.npm_package_version}"`})
|
new DefinePlugin({"process.env.RELEASE": `"${process.env.npm_package_version}"`})
|
||||||
);
|
);
|
||||||
|
@ -64,6 +57,13 @@ export default function (config, env, helpers) {
|
||||||
release: process.env.npm_package_version,
|
release: process.env.npm_package_version,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
config.plugins[16].patterns.shift();
|
||||||
|
config.plugins[16].patterns.shift();
|
||||||
|
config.plugins[16].patterns.push({
|
||||||
|
from: "assets",
|
||||||
|
to: ""
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/preactjs/preact-cli/issues/710
|
// https://github.com/preactjs/preact-cli/issues/710
|
||||||
|
|
Loading…
Reference in a new issue