-
-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Webpacker from Webpacker Lite
* Uses branch on github for now for Webpacker * gem "webpacker", git: "https://github.com/shakacode/webpacker.git", branch: "issue-464-merge-webpacker-lite-into-webpacker"
- Loading branch information
Showing
20 changed files
with
169 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
lib/generators/react_on_rails/templates/base/base/config/webpacker.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Note: Base output directory of /public is assumed for static files | ||
default: &default | ||
# Critical to set compile as false for React on Rails projects | ||
compile: false | ||
|
||
development: | ||
<<: *default | ||
# generated files for development, in /public/webpack/development | ||
public_output_path: webpack/development | ||
|
||
dev_server: | ||
host: localhost | ||
port: 8080 | ||
https: false | ||
# Can be enabled by export WEBPACKER_HMR=TRUE in env | ||
hot: false | ||
|
||
test: | ||
<<: *default | ||
# generated files for tests, in /public/webpack/test | ||
public_output_path: webpack/test | ||
|
||
production: | ||
<<: *default | ||
# generated files for tests, in /public/webpack/production | ||
public_output_path: webpack/production |
27 changes: 0 additions & 27 deletions
27
lib/generators/react_on_rails/templates/base/base/config/webpacker_lite.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Note: Base output directory of /public is assumed for static files | ||
default: &default | ||
# Critical to set compile as false for React on Rails projects | ||
compile: false | ||
|
||
development: | ||
<<: *default | ||
# generated files for development, in /public/webpack/development | ||
public_output_path: webpack/development | ||
|
||
dev_server: | ||
host: localhost | ||
port: 8080 | ||
https: false | ||
# Can be enabled by export WEBPACKER_HMR=TRUE in env | ||
hot: false | ||
|
||
test: | ||
<<: *default | ||
# generated files for tests, in /public/webpack/test | ||
public_output_path: webpack/test | ||
|
||
production: | ||
<<: *default | ||
# generated files for tests, in /public/webpack/production | ||
public_output_path: webpack/production |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.