Browse Source

Merge pull request #10 from loeck/next

Add simple icons, fix build
master
Meriadec Pillet 7 years ago
committed by GitHub
parent
commit
52dab04308
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .gitignore
  2. BIN
      build/icon.icns
  3. BIN
      build/icon.ico
  4. BIN
      build/icon.png
  5. 3
      package.json
  6. 5
      webpack/internals.config.js
  7. 4
      yarn.lock

6
.gitignore

@ -1,7 +1,7 @@
.DS_Store .DS_Store
/static/ *.log
/dist/ /dist/
/node_modules/
/flow-typed/ /flow-typed/
/node_modules/
/static/
thumbs.db thumbs.db
*.log

BIN
build/icon.icns

Binary file not shown.

BIN
build/icon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

BIN
build/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

3
package.json

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

5
webpack/internals.config.js

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

4
yarn.lock

@ -7730,10 +7730,6 @@ webpack-merge@^4.1.0:
dependencies: dependencies:
lodash "^4.17.4" 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: webpack-sources@^1.0.1:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.0.1.tgz#c7356436a4d13123be2e2426a05d1dad9cbe65cf" resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.0.1.tgz#c7356436a4d13123be2e2426a05d1dad9cbe65cf"

Loading…
Cancel
Save