Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants