mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
Add .coffee extensions for nuxt and webpack
This commit is contained in:
parent
202a84f203
commit
f74457c9c5
@ -20,8 +20,10 @@ module.exports = {
|
||||
/*
|
||||
** Build configuration
|
||||
*/
|
||||
extensions: ['coffee'],
|
||||
build: {
|
||||
extend (config, ctx) {
|
||||
config.resolve.extensions.push('.ts')
|
||||
config.module.rules.push({
|
||||
test: /\.coffee$/,
|
||||
loader: 'coffee-loader'
|
||||
|
Loading…
Reference in New Issue
Block a user