diff --git a/.gitignore b/.gitignore index e9813554..62fc32ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ .DS_Store -/static/ +*.log /dist/ -/node_modules/ /flow-typed/ +/node_modules/ +/static/ thumbs.db -*.log diff --git a/build/icon.icns b/build/icon.icns new file mode 100644 index 00000000..e5e51d5c Binary files /dev/null and b/build/icon.icns differ diff --git a/build/icon.ico b/build/icon.ico new file mode 100644 index 00000000..802c5397 Binary files /dev/null and b/build/icon.ico differ diff --git a/build/icon.png b/build/icon.png new file mode 100644 index 00000000..314953dd Binary files /dev/null and b/build/icon.png differ diff --git a/package.json b/package.json index 1ab9ce4e..b3c81576 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,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" } } diff --git a/webpack/internals.config.js b/webpack/internals.config.js index 519d31aa..35bdfe19 100644 --- a/webpack/internals.config.js +++ b/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'), diff --git a/yarn.lock b/yarn.lock index 55e2f334..79cb377f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7730,10 +7730,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"