1 |
|
2 |
|
3 | //@ts-check
|
4 | ;
|
5 | var gulp = require('gulp');
|
6 | var compressWxml = require('../src/compiler/compress-wxml');
|
7 | var config = {
|
8 | release: false,
|
9 | debug: false,
|
10 | src: 'src',
|
11 | dist: 'dist',
|
12 | tsconfig: 'tsconfig.json',
|
13 | replace: {
|
14 | APPID: 'test_app_id'
|
15 | }
|
16 | }
|
17 |
|
18 | gulp.task('wxml', () => compressWxml(config, config.src + '/**/*.{wxml,html}'));
|
19 |
|
20 | gulp.task('wxml')(console.log); |
\ | No newline at end of file |