Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-server
Commits
ec0f6ac4
You need to sign in or sign up before continuing.
Commit
ec0f6ac4
authored
Sep 07, 2018
by
Георгий Попов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Заменил пресет es-2015 на env и добавил плагины для обработки свойств класса
parent
b1e5b718
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
.babelrc
cp/.babelrc
+10
-1
package.json
cp/package.json
+5
-3
webpack.config.js
cp/webpack.config.js
+1
-1
No files found.
cp/.babelrc
View file @
ec0f6ac4
{
"plugins": [
"transform-class-properties",
["transform-runtime", {
"polyfill": false,
"regenerator": true
}]
],
"presets": [
"e
s2015", "stage-0
", "react"
"e
nv
", "react"
]
}
\ No newline at end of file
cp/package.json
View file @
ec0f6ac4
...
...
@@ -14,14 +14,16 @@
"react"
:
"^16.3.2"
,
"react-dom"
:
"^16.3.0"
,
"react-icons"
:
"^2.2.7"
,
"reactstrap"
:
"^5.0.0-beta.3"
"reactstrap"
:
"^5.0.0-beta.3"
,
"whatwg-fetch"
:
"^2.0.4"
},
"devDependencies"
:
{
"babel-core"
:
"^6.26.0"
,
"babel-loader"
:
"^7.1.4"
,
"babel-preset-es2015"
:
"^6.24.1"
,
"babel-plugin-transform-class-properties"
:
"^6.24.1"
,
"babel-plugin-transform-runtime"
:
"^6.23.0"
,
"babel-preset-env"
:
"^1.7.0"
,
"babel-preset-react"
:
"^6.24.1"
,
"babel-preset-stage-0"
:
"^6.24.1"
,
"css-loader"
:
"^0.28.11"
,
"style-loader"
:
"^0.20.3"
,
"webpack"
:
"^4.4.1"
,
...
...
cp/webpack.config.js
View file @
ec0f6ac4
...
...
@@ -4,7 +4,7 @@ const webpack = require("webpack");
module
.
exports
=
{
entry
:
[
// Application code
"./javascript/src/typos.jsx"
,
"./javascript/src/typos.jsx"
],
output
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment