Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can provide options to ignore such errors:Cannot find module 'xxxx' #349

Open
niss2000 opened this issue Feb 7, 2017 · 1 comment
Open

Comments

@niss2000
Copy link

niss2000 commented Feb 7, 2017

Can provide options to ignore such errors:Cannot find module 'xxxx'

I need to load js(AMD mode) from server,for example:
import * as Input from 'load?view=input.js';
import * as Button from 'load?view=button.js'

@Rouche
Copy link
Contributor

Rouche commented Feb 7, 2017

thats the compiler.

I would use a xxx.d.ts, and load the module Asynchronously with your loader. (Eg: require('', ('load?view=input.js') => {})).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants