Allow developing with @web/dev-server (#7782)

This commit is contained in:
Paulus Schoutsen
2020-11-23 13:05:18 +01:00
committed by GitHub
parent 39ff641be9
commit 0049be7feb
10 changed files with 745 additions and 48 deletions

View File

@@ -6,6 +6,9 @@ module.exports = {
useRollup() {
return process.env.ROLLUP === "1";
},
useWDS() {
return process.env.WDS === "1";
},
isProdBuild() {
return (
process.env.NODE_ENV === "production" || module.exports.isStatsBuild()