wip
This commit is contained in:
@ -3,7 +3,7 @@ import license from './license';
|
||||
import fa from './fa';
|
||||
import base64 from './base64';
|
||||
import themeColor from './theme-color';
|
||||
import tag from './tag';
|
||||
import vue from './vue';
|
||||
import stylus from './stylus';
|
||||
import typescript from './typescript';
|
||||
|
||||
@ -13,7 +13,7 @@ export default lang => [
|
||||
fa(),
|
||||
base64(),
|
||||
themeColor(),
|
||||
tag(),
|
||||
vue(),
|
||||
stylus(),
|
||||
typescript()
|
||||
];
|
||||
|
@ -1,20 +0,0 @@
|
||||
/**
|
||||
* Riot tags
|
||||
*/
|
||||
|
||||
export default () => ({
|
||||
test: /\.tag$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'riot-tag-loader',
|
||||
query: {
|
||||
hot: false,
|
||||
style: 'stylus',
|
||||
expr: false,
|
||||
compact: true,
|
||||
parserOptions: {
|
||||
style: {
|
||||
compress: true
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
@ -4,5 +4,9 @@
|
||||
|
||||
export default () => ({
|
||||
test: /\.ts$/,
|
||||
use: 'awesome-typescript-loader'
|
||||
loader: 'ts-loader',
|
||||
options: {
|
||||
configFile: __dirname + '/../../../src/web/app/tsconfig.json',
|
||||
appendTsSuffixTo: [/\.vue$/]
|
||||
}
|
||||
});
|
||||
|
9
webpack/module/rules/vue.ts
Normal file
9
webpack/module/rules/vue.ts
Normal file
@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Vue
|
||||
*/
|
||||
|
||||
export default () => ({
|
||||
test: /\.vue$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'vue-loader'
|
||||
});
|
Reference in New Issue
Block a user