webpack-genius
Version:
**For chinese developers:** you'd better add taobao mirror before everything start. Or you may fail to install. ```bash yarn config set registry http://registry.npm.taobao.org ```
97 lines (96 loc) • 1.85 kB
TypeScript
declare module '*.md' {
const content: string;
export = content;
}
declare module '*.scss' {
const content: {
[className: string]: string;
};
export default content;
}
declare module '*.css' {
const content: {
[className: string]: string;
};
export default content;
}
declare module '*.styl' {
const content: {
[className: string]: string;
};
export default content;
}
declare module '*.less' {
const content: {
[className: string]: string;
};
export default content;
}
declare module '*.svg' {
const content: string;
export = content;
}
declare module '*.jpg' {
const content: string;
export = content;
}
declare module '*.jpeg' {
const content: string;
export = content;
}
declare module '*.png' {
const content: string;
export = content;
}
declare module '*.gif' {
const content: string;
export = content;
}
declare module '*.bmp' {
const content: string;
export = content;
}
declare module '*.ico' {
const content: string;
export = content;
}
declare module '*.mp3' {
const content: string;
export = content;
}
declare module '*.avi' {
const content: string;
export = content;
}
declare module '*.swf' {
const content: string;
export = content;
}
declare module '*.wav' {
const content: string;
export = content;
}
declare module '*.wma' {
const content: string;
export = content;
}
declare module '*.wmv' {
const content: string;
export = content;
}
declare module '*.mpg' {
const content: string;
export = content;
}
declare module '*.mpeg' {
const content: string;
export = content;
}
declare module '*.mov' {
const content: string;
export = content;
}
declare module '*.mp4' {
const content: string;
export = content;
}