Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
boxshadow committed Jul 6, 2019
1 parent 4cdd55a commit a04e032
Show file tree
Hide file tree
Showing 6 changed files with 4,238 additions and 2,612 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["env", "stage-2"]
"presets": ["@babel/preset-env"]
}
237 changes: 1 addition & 236 deletions es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions es/Message.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
class Message {

message;
input;

constructor(message, input = null) {
this.message = message;
this.input = input;
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plus-message-bundle",
"version": "1.0.2",
"version": "1.1.0",
"main": "es.js",
"repository": "https://github.com/slimkit/plus-message-bundle",
"author": "Seven Du <[email protected]>",
Expand All @@ -10,13 +10,14 @@
"es.js"
],
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^21.0.2",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-2": "^6.24.1",
"jest": "^21.0.2",
"webpack": "^3.5.6"
"@babel/core": "^7.5.0",
"@babel/preset-env": "^7.5.0",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"jest": "^24.8.0",
"path": "^0.12.7",
"webpack": "^4.35.2",
"webpack-cli": "^3.3.5"
},
"scripts": {
"build": "webpack --progress --colors",
Expand Down
8 changes: 3 additions & 5 deletions webpack.config.babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'path';

const webpackConfig = {
const path = require('path');
module.exports = {
mode: 'production',
entry: path.resolve(__dirname, 'es', 'index.js'),
output: {
path: path.join(__dirname),
Expand All @@ -19,5 +19,3 @@ const webpackConfig = {
]
}
};

export default webpackConfig;
Loading

0 comments on commit a04e032

Please sign in to comment.