Skip to content

Commit 24243ff

Browse files
committed
Fix site builing issues
1 parent a717bc6 commit 24243ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/site/webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const basePath = path.resolve(__dirname, '../../');
77

88
module.exports = {
99
entry: {
10-
app: path.join(basePath, 'site/pages')
10+
site: path.join(basePath, 'site')
1111
},
1212
output: {
1313
path: path.resolve(basePath, 'dist/site'),
@@ -41,7 +41,7 @@ module.exports = {
4141
test: /\.jsx?$/,
4242
loaders: ['babel'],
4343
include: [
44-
path.join(basePath, 'site/pages'),
44+
path.join(basePath, 'site'),
4545
path.join(basePath, 'src'),
4646
path.join(basePath, 'libs')
4747
]

0 commit comments

Comments
 (0)