You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2019/05/22 19:02:34 UTC

[incubator-annotator] branch master updated (ba85d68 -> 4d24725)

This is an automated email from the ASF dual-hosted git repository.

randall pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git.


    from ba85d68  Add a module field to package.json files
     new 21811b8  Enable HMR in the development demo
     new 4d24725  Set webpack mode from the command line

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 package.json      | 2 +-
 webpack.config.js | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)


[incubator-annotator] 02/02: Set webpack mode from the command line

Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 4d24725c6fce57eba1de06c7d1fd3ff55f4d4b06
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Wed May 22 13:39:40 2019 -0400

    Set webpack mode from the command line
---
 package.json      | 2 +-
 webpack.config.js | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 8cfb8cd..ae30baa 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
     "clean": "lerna exec -- rimraf esm lib",
     "lint": "eslint . --ext js,mjs --fix --quiet",
     "prepare": "lerna run prepare",
-    "start": "webpack-dev-server --hot",
+    "start": "webpack-dev-server --hot --mode development",
     "test": "cross-env BABEL_ENV=test nyc mocha packages/*/test/**/*.js",
     "validate": "cross-env BABEL_ENV=test nyc mocha test/**/*.js"
   },
diff --git a/webpack.config.js b/webpack.config.js
index ba72459..9f6ddbe 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -28,7 +28,6 @@ module.exports = {
     ],
   },
   devtool: 'inline-source-map',
-  mode: 'development',
   module: {
     rules: [
       {


[incubator-annotator] 01/02: Enable HMR in the development demo

Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 21811b85c04f2fd519c10ead4e94f510db8e96d2
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Wed May 22 13:39:25 2019 -0400

    Enable HMR in the development demo
---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 08d1917..8cfb8cd 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
     "clean": "lerna exec -- rimraf esm lib",
     "lint": "eslint . --ext js,mjs --fix --quiet",
     "prepare": "lerna run prepare",
-    "start": "webpack-dev-server",
+    "start": "webpack-dev-server --hot",
     "test": "cross-env BABEL_ENV=test nyc mocha packages/*/test/**/*.js",
     "validate": "cross-env BABEL_ENV=test nyc mocha test/**/*.js"
   },