Skip to content

Commit 4a5238f

Browse files
author
Yaroslav Kasperovich
committed
Add supported extension
1 parent 666bd64 commit 4a5238f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ module.exports = (API, projectOptions) => {
22
API.chainWebpack((config) => {
33
config.resolveLoader.modules.prepend(path.join(__dirname, "node_modules"));
44

5+
config.resolve.extensions.prepend(".coffee");
6+
57
if (!projectOptions.pages) {
68
config.entry("app").clear().add("./src/main.coffee");
79
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-cli-plugin-coffee",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "CoffeeScript2 support for your @vue/cli project",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)