Skip to content

Commit

Permalink
Merge pull request Lemoncode#76 from Lemoncode/feature/updated_11_Tab…
Browse files Browse the repository at this point in the history
…le_Mock_to_awesome_plus_babel

update
  • Loading branch information
brauliodiez authored Nov 15, 2017
2 parents 52481ea + 92ba7ca commit 2091880
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
10 changes: 10 additions & 0 deletions 11 TableMock/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"presets": [
[
"env",
{
"modules": false
}
]
]
}
2 changes: 2 additions & 0 deletions 11 TableMock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"devDependencies": {
"awesome-typescript-loader": "^3.2.3",
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"@types/react": "~16.0.5",
"@types/react-dom": "~15.5.4",
"css-loader": "~0.28.7",
Expand Down
5 changes: 3 additions & 2 deletions 11 TableMock/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"target": "es6",
"module": "es6",
"moduleResolution": "node",
"declaration": false,
"noImplicitAny": false,
"jsx": "react",
Expand Down
3 changes: 3 additions & 0 deletions 11 TableMock/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ module.exports = {
test: /\.(ts|tsx)$/,
exclude: /node_modules/,
loader: 'awesome-typescript-loader',
options: {
useBabel: true,
}
},
{
test: /\.css$/,
Expand Down

0 comments on commit 2091880

Please sign in to comment.