Skip to content

Commit 923d8db

Browse files
authored
Merge pull request #200 from smalruby/fix_for_windows
fix for windows.
2 parents 9809230 + be4ab1c commit 923d8db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

webpack.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ module.exports = [
100100
defaultsDeep({}, base, {
101101
entry: {
102102
'lib.min': ['react', 'react-dom'],
103-
'gui': './src/playground/index.jsx',
104-
'blocksonly': './src/playground/blocks-only.jsx',
105-
'compatibilitytesting': './src/playground/compatibility-testing.jsx',
106-
'player': './src/playground/player.jsx'
103+
'gui': path.resolve(__dirname, 'src/playground/index.jsx'),
104+
'blocksonly': path.resolve(__dirname, 'src/playground/blocks-only.jsx'),
105+
'compatibilitytesting': path.resolve(__dirname, 'src/playground/compatibility-testing.jsx'),
106+
'player': path.resolve(__dirname, 'src/playground/player.jsx')
107107
},
108108
output: {
109109
path: path.resolve(__dirname, 'build'),
@@ -188,7 +188,7 @@ module.exports = [
188188
defaultsDeep({}, base, {
189189
target: 'web',
190190
entry: {
191-
'smalruby3-gui': './src/index.js'
191+
'smalruby3-gui': path.resolve(__dirname, 'src/index.js')
192192
},
193193
output: {
194194
libraryTarget: 'umd',

0 commit comments

Comments
 (0)