fix(next): prod css output webpack

This commit is contained in:
Elliot DeNolf
2024-03-21 17:09:15 -04:00
parent 59eec36746
commit aa6cb4f25b
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
export { RootLayout } from './layouts/Root/index.js'
export { Dashboard as DashboardPage } from './views/Dashboard/index.js'
export { Login } from './views/Login/index.js'
export { RootPage } from './views/Root/index.js'

View File

@@ -8,8 +8,9 @@ import webpack from 'webpack'
const filename = fileURLToPath(import.meta.url)
const dirname = path.dirname(filename)
/** @type {import('webpack').Configuration} */
const componentWebpackConfig = {
entry: path.resolve(dirname, './src/index.js'),
entry: path.resolve(dirname, './src/webpackEntry.ts'),
externals: [
'react',
'react-dom',