refactor: component viewer (#2377)

This commit is contained in:
Mo
2023-07-28 07:08:52 -05:00
committed by GitHub
parent 3de6af445b
commit c7fb0d2aca
9 changed files with 84 additions and 40 deletions

View File

@@ -17,6 +17,9 @@ module.exports = (env, argv) => {
},
plugins: [new ReactRefreshWebpackPlugin()],
devServer: {
headers: {
'Access-Control-Allow-Origin': '*',
},
hot: true,
static: './dist',
port,