refactor(build): explicitly mention src
folder in imports
Export files are now directly under the module folder, e.g. `core/core.js`. With this, an import like `core/core` won’t need a path mapping (e.g. via `System.paths`) any more. This adds the `src` folder to all other import statements as well.
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
import {describe, it, expect} from 'test_lib/test_lib';
|
||||
|
||||
import {Lexer, Token} from 'change_detection/parser/lexer';
|
||||
import {Lexer, Token} from 'change_detection/src/parser/lexer';
|
||||
|
||||
import {List, ListWrapper} from "facade/collection";
|
||||
import {StringWrapper, int} from "facade/lang";
|
||||
import {List, ListWrapper} from "facade/src/collection";
|
||||
import {StringWrapper, int} from "facade/src/lang";
|
||||
|
||||
function lex(text:string):List {
|
||||
return new Lexer().tokenize(text);
|
||||
|
Reference in New Issue
Block a user