mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-12 00:37:19 +00:00
Fix dev server config & redirect /editor
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
"debug": "node --inspect-brk node_modules/.bin/rollup -c",
|
"debug": "node --inspect-brk node_modules/.bin/rollup -c",
|
||||||
"dev": "run-p watch serve",
|
"dev": "run-p watch serve",
|
||||||
"watch": "rollup -cw",
|
"watch": "rollup -cw",
|
||||||
"serve": "serve --config server.json .tmp/build/static"
|
"serve": "serve --config ../../../serve.json .tmp/build/static"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-commonjs": "^15.1.0",
|
"@rollup/plugin-commonjs": "^15.1.0",
|
||||||
|
|||||||
@@ -9,5 +9,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"redirects": [{ "source": "/editor", "destination": "/" }]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user