Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
chore: renamed babel config files
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasconstantino committed Mar 15, 2019
1 parent fc0dec7 commit 4a16b28
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["./config/babel/.babelrc.client"]
"presets": ["./config/babel/babel.next"]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { resolve } = require('path')

module.exports = () => ({
presets: ['next/babel', resolve(__dirname, './.babel.resolvers.js')],
presets: ['next/babel', resolve(__dirname, './babel.resolvers.js')],
plugins: [
['styled-components', { ssr: true, displayName: true, preprocess: false }]
]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ module.exports = () => ({
}
}
],
resolve(__dirname, './.babel.resolvers.js')
resolve(__dirname, './babel.resolvers.js')
]
})
2 changes: 1 addition & 1 deletion config/webpack/webpack.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path')
const babelResolvers = require('../babel/.babel.resolvers')
const babelResolvers = require('../babel/babel.resolvers')

/**
* Clone babel aliases to have CSS/GraphQL files be able to use them.
Expand Down
2 changes: 1 addition & 1 deletion config/webpack/webpack.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const config = {
loader: 'babel-loader',
options: {
babelrc: false,
presets: [path.resolve(cwd, './config/babel/.babelrc.server.js')]
presets: [path.resolve(cwd, './config/babel/babel.server.js')]
}
}
}
Expand Down

0 comments on commit 4a16b28

Please sign in to comment.