casper 6 лет назад
Родитель
Сommit
7232774040
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      index.js

+ 17 - 0
index.js

@@ -0,0 +1,17 @@
+module.exports = function(API) {
+  return API.configureWebpack(function() {
+    return {
+      resolve: {
+        extensions: ['.coffee']
+      },
+      module: {
+        rules: [
+          {
+            test: /\.coffee$/,
+            loader: 'coffee-loader'
+          }
+        ]
+      }
+    };
+  });
+};