Make import paths ES6-compatible
This commit is contained in:
parent
1a635e2f81
commit
bfb8c7c1f6
245 changed files with 2073 additions and 1995 deletions
|
@ -1,4 +1,4 @@
|
|||
import 'css!./toast';
|
||||
import './toast';
|
||||
|
||||
function remove(elem) {
|
||||
setTimeout(function () {
|
||||
|
@ -21,7 +21,7 @@ export default function (options) {
|
|||
}
|
||||
|
||||
const elem = document.createElement('div');
|
||||
elem.classList.add('toast');
|
||||
elem.classList.add('../toast/toast');
|
||||
elem.innerHTML = options.text;
|
||||
|
||||
document.body.appendChild(elem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue