Browse Source

Fix build

master
Loëck Vézien 7 years ago
parent
commit
42c9a5c93e
No known key found for this signature in database GPG Key ID: CBCDCE384E853AC4
  1. 3
      package.json
  2. 5
      webpack/internals.config.js
  3. 4
      yarn.lock

3
package.json

@ -75,7 +75,6 @@
"flow-bin": "^0.63.1",
"flow-typed": "^2.2.3",
"prettier": "^1.10.2",
"react-hot-loader": "^4.0.0-beta.12",
"webpack-node-externals": "^1.6.0"
"react-hot-loader": "^4.0.0-beta.12"
}
}

5
webpack/internals.config.js

@ -1,6 +1,5 @@
const path = require('path')
const fs = require('fs')
const nodeExternals = require('webpack-node-externals') // eslint-disable-line import/no-extraneous-dependencies
const define = require('./define')
@ -20,7 +19,9 @@ module.exports = {
entry: dirs(path.resolve(__dirname, '../src/internals')),
externals: [nodeExternals()],
externals: {
'node-hid': 'commonjs node-hid',
},
output: {
path: path.resolve(__dirname, '../static'),

4
yarn.lock

@ -7708,10 +7708,6 @@ webpack-merge@^4.1.0:
dependencies:
lodash "^4.17.4"
webpack-node-externals@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/webpack-node-externals/-/webpack-node-externals-1.6.0.tgz#232c62ec6092b100635a3d29d83c1747128df9bd"
webpack-sources@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.0.1.tgz#c7356436a4d13123be2e2426a05d1dad9cbe65cf"

Loading…
Cancel
Save