Skip to content

Commit 7232774

Browse files
committed
configure coffee-loader
1 parent 795a361 commit 7232774

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

index.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = function(API) {
2+
return API.configureWebpack(function() {
3+
return {
4+
resolve: {
5+
extensions: ['.coffee']
6+
},
7+
module: {
8+
rules: [
9+
{
10+
test: /\.coffee$/,
11+
loader: 'coffee-loader'
12+
}
13+
]
14+
}
15+
};
16+
});
17+
};

0 commit comments

Comments
 (0)