Skip to content

Commit

Permalink
Fix webpack build handling of coffee-script dep
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Aug 9, 2017
1 parent 7fe9662 commit 1591b2b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ module.exports = ->
baseDir: './'
webpack:
externals:
'repl': 'commonjs repl' # somewhere inside coffee-script
'module': 'commonjs module' # somewhere inside coffee-script
'child_process': 'commonjs child_process' # somewhere inside coffee-script
'ws': 'commonjs ws' # microflo-emscripten build, not actually needed
'jison': 'commonjs jison'
module:
rules: [
test: /\.coffee$/
Expand All @@ -37,7 +41,10 @@ module.exports = ->
use: ["fbp-loader"]
,
test: /\.yaml$/
use: ["yaml-include-loader"]
use: [
"json-loader"
"yaml-include-loader"
]
]
resolve:
extensions: [".coffee", ".js"]
Expand All @@ -46,6 +53,7 @@ module.exports = ->
ignores: [
/tv4/
/serialport/
/bin\/coffee/
]
build:
files:
Expand Down

0 comments on commit 1591b2b

Please sign in to comment.