Skip to content

Commit 3e55384

Browse files
committed
Fix Gruntfile to the new structure.
1 parent ab68e99 commit 3e55384

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Gruntfile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function(grunt) {
2525
watch: {
2626
editor: {
2727
files: ['*.css', 'src/*'],
28-
tasks: ['transport'],
28+
tasks: ['build'],
2929
options: {
3030
livereload: true
3131
}
@@ -59,6 +59,7 @@ module.exports = function(grunt) {
5959
['continuelist', 'xml', 'markdown'].forEach(function(name) {
6060
data += '\n' + grunt.file.read('vendor/' + name + '.js');
6161
});
62+
data += '\n' + grunt.file.read('src/intro.js');
6263
data += '\n' + grunt.file.read('src/editor.js');
6364
grunt.file.write('tmp/editor.js', data);
6465
});

component.json

+7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@
1212
"index.js"
1313
],
1414
"styles": [
15+
"vendor/icomoon/style.css",
1516
"editor.css",
1617
"paper.css"
18+
],
19+
"fonts": [
20+
"vendor/icomoon/fonts/icomoon.eot",
21+
"vendor/icomoon/fonts/icomoon.svg",
22+
"vendor/icomoon/fonts/icomoon.ttf",
23+
"vendor/icomoon/fonts/icomoon.woff"
1724
]
1825
}

0 commit comments

Comments
 (0)