mirror of https://github.com/status-im/consul.git
ui: Adds ember-auto-import and replaces the 3 places where we used npm: (#5952)
Also removes ember-browserify
This commit is contained in:
parent
df0cf11a0f
commit
2b30667fc7
|
@ -1,4 +1,4 @@
|
|||
import base64js from 'npm:base64-js';
|
||||
import base64js from 'base64-js';
|
||||
export default function(str, encoding = 'utf-8') {
|
||||
// decode
|
||||
const bytes = base64js.toByteArray(str);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import base64js from 'npm:base64-js';
|
||||
import base64js from 'base64-js';
|
||||
export default function(str, encoding = 'utf-8') {
|
||||
// encode
|
||||
const bytes = new TextEncoder(encoding).encode(str);
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
"clipboard": "^2.0.4",
|
||||
"dart-sass": "^1.14.1",
|
||||
"ember-ajax": "^3.0.0",
|
||||
"ember-browserify": "^1.2.2",
|
||||
"ember-auto-import": "^1.4.0",
|
||||
"ember-changeset-validations": "^2.1.0",
|
||||
"ember-cli": "~2.18.2",
|
||||
"ember-cli-app-version": "^3.0.0",
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
import yadda from 'npm:yadda';
|
||||
import yadda from 'yadda';
|
||||
export default yadda;
|
||||
|
|
994
ui-v2/yarn.lock
994
ui-v2/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue