This commit is contained in:
syuilo
2018-02-10 10:27:05 +09:00
parent d5f345c8f9
commit ff7bb97d8e
19 changed files with 58 additions and 146 deletions

View File

@ -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()
];

View File

@ -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
}
}
}
});

View File

@ -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$/]
}
});

View File

@ -0,0 +1,9 @@
/**
* Vue
*/
export default () => ({
test: /\.vue$/,
exclude: /node_modules/,
loader: 'vue-loader'
});