Skip to content

Commit f15f61d

Browse files
authored
Update next.config.js (#1962)
* Update next.config.js Removed basePath and assetPrefix for non-production. * demo: removed unused variable
1 parent 7ab875f commit f15f61d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/visx-demo/next.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
const isProd = process.env.NODE_ENV === 'production';
2-
31
const nextConfig = {
42
output: 'export',
5-
basePath: isProd ? '/visx' : '',
6-
...(isProd && { assetPrefix: '/visx/' }),
73
typescript: {
84
// enable rendering when there are type errors
95
ignoreBuildErrors: true,

0 commit comments

Comments
 (0)