Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure infrastructure to be able to use ES6 and React #1060

Closed
php-coder opened this issue Jun 26, 2019 · 2 comments
Closed

Configure infrastructure to be able to use ES6 and React #1060

php-coder opened this issue Jun 26, 2019 · 2 comments

Comments

@php-coder
Copy link
Owner

Prerequisite for: #1056 and #1057

@php-coder php-coder added this to the 0.4.1 milestone Jun 26, 2019
@php-coder php-coder self-assigned this Jun 26, 2019
php-coder added a commit that referenced this issue Jun 29, 2019
Addressed to #1060

No functional changes.
php-coder added a commit that referenced this issue Jun 30, 2019
Generated by the following commands:
$ cd src/main/frontend
$ ./node/node node/node_modules/npm/bin/npm-cli.js init

Addressed to #1060

No functional changes.
php-coder added a commit that referenced this issue Jun 30, 2019
…t-react packages.

Installed by the following command:
$ ./mvnw -Pfrontend frontend:npm -Dfrontend.npm.arguments='install babel-cli babel-preset-es2015 babel-preset-react --save-dev'

Addressed to #1060

No functional changes.
php-coder added a commit that referenced this issue Jul 1, 2019
php-coder added a commit that referenced this issue Jul 10, 2019
As "frontend" plugin gets activated before executing any goals, this
leads to a non obvious outcome that "mvn clean <some goal>" command
doesn't regenerate JS-files. It happens because "frontent" plugin
doesn't get activated as the target/classes/js/components directory
exists in the begginning and hasn't been removed yet.

As a workaround you might use:
- mvn -Pfrontend clean <some goal>
- mvn clean; mvn <some goal>

Addressed to #1060 and (a little bit to) #1057
@0pdd
Copy link

0pdd commented Jul 10, 2019

@php-coder 2 puzzles #1070, #1071 are still not solved.

@php-coder
Copy link
Owner Author

I've added everything that I planned. Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants