shakapacker 7.3.0.beta.1 → 8.0.0.rc.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.eslintignore +1 -1
- data/.eslintrc.js +29 -8
- data/.github/PULL_REQUEST_TEMPLATE.md +10 -3
- data/.github/workflows/dummy.yml +6 -1
- data/.github/workflows/generator.yml +14 -18
- data/.github/workflows/node.yml +56 -0
- data/.github/workflows/ruby.yml +29 -17
- data/.node-version +1 -1
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +56 -5
- data/README.md +101 -48
- data/Rakefile +1 -7
- data/docs/customizing_babel_config.md +2 -2
- data/docs/deployment.md +13 -6
- data/docs/react.md +7 -13
- data/docs/troubleshooting.md +4 -4
- data/docs/using_esbuild_loader.md +1 -1
- data/docs/using_swc_loader.md +1 -1
- data/docs/v6_upgrade.md +1 -1
- data/docs/v8_upgrade.md +148 -0
- data/gemfiles/Gemfile-rails.7.1.x +12 -0
- data/jest.config.js +4 -0
- data/lib/install/config/shakapacker.yml +2 -2
- data/lib/install/template.rb +36 -30
- data/lib/shakapacker/base_strategy.rb +2 -1
- data/lib/shakapacker/compiler.rb +6 -21
- data/lib/shakapacker/configuration.rb +2 -46
- data/lib/shakapacker/deprecation_helper.rb +0 -78
- data/lib/shakapacker/dev_server.rb +1 -16
- data/lib/shakapacker/dev_server_runner.rb +2 -21
- data/lib/shakapacker/env.rb +1 -1
- data/lib/shakapacker/helper.rb +3 -3
- data/lib/shakapacker/instance.rb +1 -3
- data/lib/shakapacker/manifest.rb +1 -1
- data/lib/shakapacker/railtie.rb +7 -0
- data/lib/shakapacker/runner.rb +4 -18
- data/lib/shakapacker/utils/manager.rb +58 -0
- data/lib/shakapacker/utils/misc.rb +0 -12
- data/lib/shakapacker/version.rb +1 -1
- data/lib/shakapacker/version_checker.rb +9 -30
- data/lib/shakapacker/webpack_runner.rb +2 -21
- data/lib/shakapacker.rb +0 -2
- data/lib/tasks/shakapacker/check_binstubs.rake +12 -26
- data/lib/tasks/shakapacker/check_manager.rake +3 -8
- data/lib/tasks/shakapacker/info.rake +6 -15
- data/package/babel/preset.js +15 -15
- data/package/config.js +15 -19
- data/package/dev_server.js +4 -4
- data/package/env.js +19 -17
- data/package/environments/base.js +41 -24
- data/package/environments/development.js +6 -6
- data/package/environments/production.js +16 -16
- data/package/environments/test.js +1 -1
- data/package/esbuild/index.js +6 -6
- data/package/index.d.ts +0 -2
- data/package/index.js +17 -46
- data/package/rules/babel.js +6 -8
- data/package/rules/coffee.js +2 -2
- data/package/rules/css.js +1 -1
- data/package/rules/erb.js +4 -4
- data/package/rules/esbuild.js +5 -7
- data/package/rules/file.js +14 -7
- data/package/rules/index.js +11 -11
- data/package/rules/jscommon.js +8 -5
- data/package/rules/less.js +10 -9
- data/package/rules/raw.js +1 -1
- data/package/rules/sass.js +4 -4
- data/package/rules/stylus.js +12 -7
- data/package/rules/swc.js +5 -7
- data/package/swc/index.js +10 -10
- data/package/utils/configPath.js +3 -18
- data/package/utils/defaultConfigPath.js +1 -1
- data/package/utils/{get_style_rule.js → getStyleRule.js} +6 -6
- data/package/utils/helpers.js +2 -43
- data/package/utils/inliningCss.js +4 -3
- data/package/utils/snakeToCamelCase.js +5 -0
- data/package/webpackDevServerConfig.js +28 -25
- data/package.json +12 -18
- data/prettier.config.js +4 -0
- data/shakapacker.gemspec +1 -1
- data/spec/dummy/app/javascript/packs/application.js +1 -1
- data/spec/dummy/config/application.rb +3 -0
- data/spec/dummy/config/initializers/react_on_rails.rb +2 -2
- data/spec/dummy/config/shakapacker.yml +3 -4
- data/spec/dummy/config/webpack/commonWebpackConfig.js +0 -1
- data/spec/dummy/config/webpack/webpack.config.js +1 -1
- data/spec/dummy/package.json +2 -1
- data/spec/dummy/yarn.lock +2 -3
- data/spec/fixtures/github_url_package-lock.v1.json +1 -1
- data/spec/fixtures/github_url_package-lock.v2.json +2 -2
- data/spec/fixtures/github_url_package.json +1 -1
- data/spec/fixtures/github_url_pnpm-lock.v7.yaml +1 -1
- data/spec/fixtures/github_url_pnpm-lock.v8.yaml +1 -1
- data/spec/fixtures/github_url_yarn.v1.lock +1 -1
- data/spec/fixtures/github_url_yarn.v2.lock +2 -2
- data/spec/generator_specs/e2e_template/template.rb +15 -28
- data/spec/generator_specs/generator_spec.rb +6 -136
- data/spec/mounted_app/test/dummy/config/webpacker.yml +0 -1
- data/spec/shakapacker/compiler_spec.rb +1 -3
- data/spec/shakapacker/configuration_spec.rb +4 -56
- data/spec/shakapacker/dev_server_runner_spec.rb +19 -102
- data/spec/shakapacker/dev_server_spec.rb +1 -16
- data/spec/shakapacker/engine_rake_tasks_spec.rb +1 -16
- data/spec/shakapacker/helper_spec.rb +3 -3
- data/spec/shakapacker/instance_spec.rb +1 -3
- data/spec/shakapacker/rake_tasks_spec.rb +2 -14
- data/spec/shakapacker/shakapacker_spec.rb +0 -1
- data/spec/shakapacker/test_app/config/shakapacker_css_extract_ignore_order_warnings.yml +0 -1
- data/spec/shakapacker/test_app/config/shakapacker_manifest_path.yml +0 -1
- data/spec/shakapacker/test_app/config/shakapacker_nested_entries.yml +0 -1
- data/spec/shakapacker/test_app/config/shakapacker_other_location.yml +0 -1
- data/spec/shakapacker/test_app/package.json +2 -1
- data/spec/shakapacker/utils_manager_spec.rb +125 -0
- data/spec/shakapacker/version_checker_spec.rb +5 -5
- data/spec/shakapacker/webpack_runner_spec.rb +19 -28
- data/spec/support/package_json_helpers.rb +7 -4
- data/test/helpers.js +67 -0
- data/test/package/config.test.js +50 -0
- data/test/package/dev_server.test.js +44 -0
- data/test/package/development.test.js +43 -0
- data/test/package/env.test.js +57 -0
- data/test/package/environments/base.test.js +105 -0
- data/test/package/environments/development.test.js +50 -0
- data/test/package/environments/production.test.js +106 -0
- data/test/package/index.test.js +45 -0
- data/test/package/production.test.js +32 -0
- data/test/package/rules/babel.test.js +58 -0
- data/test/package/rules/esbuild.test.js +59 -0
- data/test/package/rules/file.test.js +81 -0
- data/test/package/rules/index.test.js +7 -0
- data/test/package/rules/raw.test.js +12 -0
- data/test/package/rules/swc.test.js +59 -0
- data/test/package/staging.test.js +31 -0
- data/test/package/test.test.js +28 -0
- data/yarn.lock +1278 -421
- metadata +50 -100
- data/.github/workflows/jest.yml +0 -33
- data/.github/workflows/js-lint.yml +0 -33
- data/.github/workflows/rubocop.yml +0 -28
- data/.github/workflows/ruby-backward-compatibility.yml +0 -51
- data/lib/install/package.json +0 -15
- data/lib/tasks/shakapacker/check_yarn.rake +0 -34
- data/lib/tasks/shakapacker/yarn_install.rake +0 -24
- data/lib/tasks/webpacker/binstubs.rake +0 -9
- data/lib/tasks/webpacker/check_binstubs.rake +0 -9
- data/lib/tasks/webpacker/check_node.rake +0 -9
- data/lib/tasks/webpacker/check_yarn.rake +0 -9
- data/lib/tasks/webpacker/clean.rake +0 -9
- data/lib/tasks/webpacker/clobber.rake +0 -11
- data/lib/tasks/webpacker/compile.rake +0 -9
- data/lib/tasks/webpacker/info.rake +0 -9
- data/lib/tasks/webpacker/install.rake +0 -9
- data/lib/tasks/webpacker/verify_config.rake +0 -9
- data/lib/tasks/webpacker/verify_install.rake +0 -9
- data/lib/tasks/webpacker/yarn_install.rake +0 -9
- data/lib/tasks/webpacker.rake +0 -20
- data/lib/webpacker/dev_server_runner.rb +0 -9
- data/lib/webpacker/webpack_runner.rb +0 -9
- data/lib/webpacker.rb +0 -4
- data/package/__tests__/config-bc.js +0 -27
- data/package/__tests__/config.js +0 -46
- data/package/__tests__/dev_server-bc.js +0 -46
- data/package/__tests__/dev_server.js +0 -46
- data/package/__tests__/development-bc.js +0 -66
- data/package/__tests__/development.js +0 -66
- data/package/__tests__/env-bc.js +0 -59
- data/package/__tests__/env.js +0 -59
- data/package/__tests__/index-bc.js +0 -22
- data/package/__tests__/index.js +0 -46
- data/package/__tests__/production-bc.js +0 -51
- data/package/__tests__/production.js +0 -51
- data/package/__tests__/staging-bc.js +0 -53
- data/package/__tests__/staging.js +0 -53
- data/package/__tests__/test-bc.js +0 -43
- data/package/__tests__/test.js +0 -43
- data/package/environments/__tests__/base-bc.js +0 -107
- data/package/environments/__tests__/base.js +0 -107
- data/package/environments/__tests__/development.js +0 -53
- data/package/environments/__tests__/production.js +0 -92
- data/package/rules/__tests__/__utils__/webpack.js +0 -50
- data/package/rules/__tests__/babel.js +0 -63
- data/package/rules/__tests__/esbuild.js +0 -64
- data/package/rules/__tests__/file.js +0 -79
- data/package/rules/__tests__/index.js +0 -7
- data/package/rules/__tests__/raw.js +0 -18
- data/package/rules/__tests__/swc.js +0 -63
- data/package/utils/snakeToCamelCase +0 -7
- data/spec/backward_compatibility_specs/command_spec.rb +0 -116
- data/spec/backward_compatibility_specs/compiler_spec.rb +0 -59
- data/spec/backward_compatibility_specs/compiler_strategy_spec.rb +0 -24
- data/spec/backward_compatibility_specs/configuration_spec.rb +0 -294
- data/spec/backward_compatibility_specs/dev_server_runner_spec.rb +0 -206
- data/spec/backward_compatibility_specs/dev_server_spec.rb +0 -47
- data/spec/backward_compatibility_specs/digest_strategy_spec.rb +0 -38
- data/spec/backward_compatibility_specs/engine_rake_tasks_spec.rb +0 -67
- data/spec/backward_compatibility_specs/env_spec.rb +0 -23
- data/spec/backward_compatibility_specs/helper_spec.rb +0 -243
- data/spec/backward_compatibility_specs/instance_spec.rb +0 -31
- data/spec/backward_compatibility_specs/manifest_spec.rb +0 -100
- data/spec/backward_compatibility_specs/mtime_strategy_spec.rb +0 -55
- data/spec/backward_compatibility_specs/rake_tasks_spec.rb +0 -41
- data/spec/backward_compatibility_specs/spec_helper_initializer.rb +0 -24
- data/spec/backward_compatibility_specs/webpack_runner_spec.rb +0 -86
- data/spec/backward_compatibility_specs/webpacker_spec.rb +0 -41
- data/spec/backward_compatibility_specs/webpacker_test_app/.gitignore +0 -2
- data/spec/backward_compatibility_specs/webpacker_test_app/Rakefile +0 -3
- data/spec/backward_compatibility_specs/webpacker_test_app/app/packs/entrypoints/application.js +0 -10
- data/spec/backward_compatibility_specs/webpacker_test_app/app/packs/entrypoints/generated/something.js +0 -2
- data/spec/backward_compatibility_specs/webpacker_test_app/app/packs/entrypoints/multi_entry.css +0 -4
- data/spec/backward_compatibility_specs/webpacker_test_app/app/packs/entrypoints/multi_entry.js +0 -4
- data/spec/backward_compatibility_specs/webpacker_test_app/bin/webpacker +0 -13
- data/spec/backward_compatibility_specs/webpacker_test_app/bin/webpacker-dev-server +0 -13
- data/spec/backward_compatibility_specs/webpacker_test_app/config/application.rb +0 -11
- data/spec/backward_compatibility_specs/webpacker_test_app/config/environment.rb +0 -4
- data/spec/backward_compatibility_specs/webpacker_test_app/config/initializers/inspect_autoload_paths.rb +0 -1
- data/spec/backward_compatibility_specs/webpacker_test_app/config/webpack/webpack.config.js +0 -0
- data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker.yml +0 -83
- data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_css_extract_ignore_order_warnings.yml +0 -84
- data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_defaults_fallback.yml +0 -11
- data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_manifest_path.yml +0 -80
- data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_nested_entries.yml +0 -83
- data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_no_precompile.yml +0 -7
- data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_other_location.yml +0 -85
- data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_public_root.yml +0 -18
- data/spec/backward_compatibility_specs/webpacker_test_app/config.ru +0 -5
- data/spec/backward_compatibility_specs/webpacker_test_app/package.json +0 -13
- data/spec/backward_compatibility_specs/webpacker_test_app/public/packs/manifest.json +0 -58
- data/spec/backward_compatibility_specs/webpacker_test_app/some.config.js +0 -0
- data/spec/backward_compatibility_specs/webpacker_test_app/tmp/shakapacker/last-compilation-digest-production +0 -1
- data/spec/backward_compatibility_specs/webpacker_test_app/yarn.lock +0 -11
data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_manifest_path.yml
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
# Note: You must restart bin/webpack-dev-server for changes to take effect
|
2
|
-
|
3
|
-
default: &default
|
4
|
-
source_path: app/packs
|
5
|
-
source_entry_path: entrypoints
|
6
|
-
public_root_path: public
|
7
|
-
public_output_path: packs
|
8
|
-
cache_path: tmp/webpacker
|
9
|
-
webpack_compile_output: false
|
10
|
-
|
11
|
-
# Location for manifest.json, defaults to {public_output_path}/manifest.json if unset
|
12
|
-
manifest_path: app/packs/manifest.json
|
13
|
-
|
14
|
-
# Additional paths webpack should look up modules
|
15
|
-
# ['app/assets', 'engine/foo/app/assets']
|
16
|
-
additional_paths:
|
17
|
-
- app/assets
|
18
|
-
- /etc/yarn
|
19
|
-
- some.config.js
|
20
|
-
- app/elm
|
21
|
-
|
22
|
-
# Reload manifest.json on all requests so we reload latest compiled packs
|
23
|
-
cache_manifest: false
|
24
|
-
|
25
|
-
static_assets_extensions:
|
26
|
-
- .jpg
|
27
|
-
- .jpeg
|
28
|
-
- .png
|
29
|
-
- .gif
|
30
|
-
- .tiff
|
31
|
-
- .ico
|
32
|
-
- .svg
|
33
|
-
|
34
|
-
extensions:
|
35
|
-
- .mjs
|
36
|
-
- .js
|
37
|
-
|
38
|
-
development:
|
39
|
-
<<: *default
|
40
|
-
compile: true
|
41
|
-
|
42
|
-
# Reference: https://webpack.js.org/configuration/dev-server/
|
43
|
-
dev_server:
|
44
|
-
https: false
|
45
|
-
host: localhost
|
46
|
-
port: 3035
|
47
|
-
public: localhost:3035
|
48
|
-
hmr: false
|
49
|
-
overlay: true
|
50
|
-
disable_host_check: true
|
51
|
-
use_local_ip: false
|
52
|
-
pretty: false
|
53
|
-
|
54
|
-
test:
|
55
|
-
<<: *default
|
56
|
-
compile: true
|
57
|
-
|
58
|
-
# Compile test packs to a separate directory
|
59
|
-
public_output_path: packs-test
|
60
|
-
|
61
|
-
production:
|
62
|
-
<<: *default
|
63
|
-
|
64
|
-
# Production depends on precompilation of packs prior to booting for performance.
|
65
|
-
compile: false
|
66
|
-
|
67
|
-
# Cache manifest.json for performance
|
68
|
-
cache_manifest: true
|
69
|
-
|
70
|
-
staging:
|
71
|
-
<<: *default
|
72
|
-
|
73
|
-
# Production depends on precompilation of packs prior to booting for performance.
|
74
|
-
compile: false
|
75
|
-
|
76
|
-
# Cache manifest.json for performance
|
77
|
-
cache_manifest: true
|
78
|
-
|
79
|
-
# Compile staging packs to a separate directory
|
80
|
-
public_output_path: packs-staging
|
data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_nested_entries.yml
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
# Note: You must restart bin/webpacker-dev-server for changes to take effect
|
2
|
-
|
3
|
-
default: &default
|
4
|
-
source_path: app/packs
|
5
|
-
source_entry_path: entrypoints
|
6
|
-
nested_entries: true
|
7
|
-
public_root_path: public
|
8
|
-
public_output_path: packs
|
9
|
-
cache_path: tmp/webpacker
|
10
|
-
webpack_compile_output: false
|
11
|
-
webpack_loader: babel
|
12
|
-
|
13
|
-
# Location for manifest.json, defaults to {public_output_path}/manifest.json if unset
|
14
|
-
# manifest_path: public/packs/manifest.json
|
15
|
-
|
16
|
-
# Additional paths webpack should look up modules
|
17
|
-
# ['app/assets', 'engine/foo/app/assets']
|
18
|
-
additional_paths:
|
19
|
-
- app/assets
|
20
|
-
- /etc/yarn
|
21
|
-
- some.config.js
|
22
|
-
- app/elm
|
23
|
-
|
24
|
-
# Reload manifest.json on all requests so we reload latest compiled packs
|
25
|
-
cache_manifest: false
|
26
|
-
|
27
|
-
static_assets_extensions:
|
28
|
-
- .jpg
|
29
|
-
- .jpeg
|
30
|
-
- .png
|
31
|
-
- .gif
|
32
|
-
- .tiff
|
33
|
-
- .ico
|
34
|
-
- .svg
|
35
|
-
|
36
|
-
extensions:
|
37
|
-
- .mjs
|
38
|
-
- .js
|
39
|
-
|
40
|
-
development:
|
41
|
-
<<: *default
|
42
|
-
compile: true
|
43
|
-
ensure_consistent_versioning: true
|
44
|
-
|
45
|
-
# Reference: https://webpack.js.org/configuration/dev-server/
|
46
|
-
dev_server:
|
47
|
-
https: false
|
48
|
-
host: localhost
|
49
|
-
port: 3035
|
50
|
-
public: localhost:3035
|
51
|
-
hmr: false
|
52
|
-
overlay: true
|
53
|
-
disable_host_check: true
|
54
|
-
use_local_ip: false
|
55
|
-
pretty: false
|
56
|
-
|
57
|
-
test:
|
58
|
-
<<: *default
|
59
|
-
compile: true
|
60
|
-
|
61
|
-
# Compile test packs to a separate directory
|
62
|
-
public_output_path: packs-test
|
63
|
-
|
64
|
-
production:
|
65
|
-
<<: *default
|
66
|
-
|
67
|
-
# Production depends on precompilation of packs prior to booting for performance.
|
68
|
-
compile: false
|
69
|
-
|
70
|
-
# Cache manifest.json for performance
|
71
|
-
cache_manifest: true
|
72
|
-
|
73
|
-
staging:
|
74
|
-
<<: *default
|
75
|
-
|
76
|
-
# Production depends on precompilation of packs prior to booting for performance.
|
77
|
-
compile: false
|
78
|
-
|
79
|
-
# Cache manifest.json for performance
|
80
|
-
cache_manifest: true
|
81
|
-
|
82
|
-
# Compile staging packs to a separate directory
|
83
|
-
public_output_path: packs-staging
|
data/spec/backward_compatibility_specs/webpacker_test_app/config/webpacker_other_location.yml
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
# Note: You must restart bin/shakapacker-dev-server for changes to take effect
|
2
|
-
|
3
|
-
default: &default
|
4
|
-
source_path: app/packs
|
5
|
-
source_entry_path: entrypoints
|
6
|
-
public_root_path: public
|
7
|
-
public_output_path: packs
|
8
|
-
cache_path: tmp/cache/webpacker
|
9
|
-
webpack_compile_output: false
|
10
|
-
|
11
|
-
# Additional paths webpack should look up modules
|
12
|
-
# ['app/assets', 'engine/foo/app/assets']
|
13
|
-
additional_paths:
|
14
|
-
- app/assets
|
15
|
-
- /etc/yarn
|
16
|
-
- some.config.js
|
17
|
-
- app/elm
|
18
|
-
|
19
|
-
# Reload manifest.json on all requests so we reload latest compiled packs
|
20
|
-
cache_manifest: false
|
21
|
-
|
22
|
-
static_assets_extensions:
|
23
|
-
- .jpg
|
24
|
-
- .jpeg
|
25
|
-
- .png
|
26
|
-
- .gif
|
27
|
-
- .tiff
|
28
|
-
- .ico
|
29
|
-
- .svg
|
30
|
-
|
31
|
-
extensions:
|
32
|
-
- .mjs
|
33
|
-
- .js
|
34
|
-
|
35
|
-
development:
|
36
|
-
<<: *default
|
37
|
-
compile: true
|
38
|
-
|
39
|
-
# Reference: https://webpack.js.org/configuration/dev-server/
|
40
|
-
dev_server:
|
41
|
-
https: false
|
42
|
-
host: localhost
|
43
|
-
port: 3035
|
44
|
-
public: localhost:3035
|
45
|
-
hmr: true
|
46
|
-
# If HMR is on, CSS will by inlined by delivering it as part of the script payload via style-loader. Be sure
|
47
|
-
# that you add style-loader to your project dependencies.
|
48
|
-
#
|
49
|
-
# If you want to instead deliver CSS via <link> with the mini-extract-css-plugin, set inline_css to false.
|
50
|
-
# In that case, style-loader is not needed as a dependency.
|
51
|
-
#
|
52
|
-
# mini-extract-css-plugin is a required dependency in both cases.
|
53
|
-
inline_css: true
|
54
|
-
overlay: true
|
55
|
-
disable_host_check: true
|
56
|
-
use_local_ip: false
|
57
|
-
pretty: false
|
58
|
-
|
59
|
-
test:
|
60
|
-
<<: *default
|
61
|
-
compile: true
|
62
|
-
|
63
|
-
# Compile test packs to a separate directory
|
64
|
-
public_output_path: packs-test
|
65
|
-
|
66
|
-
production:
|
67
|
-
<<: *default
|
68
|
-
|
69
|
-
# Production depends on precompilation of packs prior to booting for performance.
|
70
|
-
compile: false
|
71
|
-
|
72
|
-
# Cache manifest.json for performance
|
73
|
-
cache_manifest: true
|
74
|
-
|
75
|
-
staging:
|
76
|
-
<<: *default
|
77
|
-
|
78
|
-
# Production depends on precompilation of packs prior to booting for performance.
|
79
|
-
compile: false
|
80
|
-
|
81
|
-
# Cache manifest.json for performance
|
82
|
-
cache_manifest: true
|
83
|
-
|
84
|
-
# Compile staging packs to a separate directory
|
85
|
-
public_output_path: packs-staging
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Note: You must restart bin/shakapacker-dev-server for changes to take effect
|
2
|
-
|
3
|
-
default: &default
|
4
|
-
public_root_path: ../public
|
5
|
-
|
6
|
-
development:
|
7
|
-
<<: *default
|
8
|
-
compile: true
|
9
|
-
|
10
|
-
test:
|
11
|
-
<<: *default
|
12
|
-
compile: true
|
13
|
-
public_output_path: packs-test
|
14
|
-
|
15
|
-
production:
|
16
|
-
<<: *default
|
17
|
-
compile: false
|
18
|
-
cache_manifest: true
|
@@ -1,58 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"bootstrap.css": "/packs/bootstrap-c38deda30895059837cf.css",
|
3
|
-
"application.css": "/packs/application-dd6b1cd38bfa093df600.css",
|
4
|
-
"bootstrap.js": "/packs/bootstrap-300631c4f0e0f9c865bc.js",
|
5
|
-
"main.js": "/packs/main-e323a53c7f30f5d53cbb.js",
|
6
|
-
"application.js": "/packs/application-k344a6d59eef8632c9d1.js",
|
7
|
-
"application.png": "/packs/application-k344a6d59eef8632c9d1.png",
|
8
|
-
"fonts/fa-regular-400.woff2": "/packs/fonts/fa-regular-400-944fb546bd7018b07190a32244f67dc9.woff2",
|
9
|
-
"static/image.jpg": "/packs/static/image-c38deda30895059837cf.jpg",
|
10
|
-
"static/image-2x.jpg": "/packs/static/image-2x-7cca48e6cae66ec07b8e.jpg",
|
11
|
-
"static/nested/image.jpg": "/packs/static/nested/image-c38deda30895059837cf.jpg",
|
12
|
-
"static/mb-icon.png": "/packs/static/mb-icon-c38deda30895059837cf.png",
|
13
|
-
"static/nested/mb-icon.png": "/packs/static/nested/mb-icon-c38deda30895059837cf.png",
|
14
|
-
"entrypoints": {
|
15
|
-
"application": {
|
16
|
-
"assets": {
|
17
|
-
"js": [
|
18
|
-
"/packs/vendors~application~bootstrap-c20632e7baf2c81200d3.chunk.js",
|
19
|
-
"/packs/vendors~application-e55f2aae30c07fb6d82a.chunk.js",
|
20
|
-
"/packs/application-k344a6d59eef8632c9d1.js"
|
21
|
-
],
|
22
|
-
"css": [
|
23
|
-
"/packs/1-c20632e7baf2c81200d3.chunk.css",
|
24
|
-
"/packs/application-k344a6d59eef8632c9d1.chunk.css"
|
25
|
-
]
|
26
|
-
}
|
27
|
-
},
|
28
|
-
"bootstrap": {
|
29
|
-
"assets": {
|
30
|
-
"js": [
|
31
|
-
"/packs/bootstrap-300631c4f0e0f9c865bc.js"
|
32
|
-
]
|
33
|
-
}
|
34
|
-
},
|
35
|
-
"main": {
|
36
|
-
"assets": {
|
37
|
-
"js": [
|
38
|
-
"/packs/main-e323a53c7f30f5d53cbb.js"
|
39
|
-
]
|
40
|
-
}
|
41
|
-
},
|
42
|
-
"hello_stimulus": {
|
43
|
-
"assets": {
|
44
|
-
"css": [
|
45
|
-
"/packs/1-c20632e7baf2c81200d3.chunk.css",
|
46
|
-
"/packs/hello_stimulus-k344a6d59eef8632c9d1.chunk.css"
|
47
|
-
]
|
48
|
-
}
|
49
|
-
},
|
50
|
-
"print/application": {
|
51
|
-
"assets": {
|
52
|
-
"css": [
|
53
|
-
"/packs/print/application-983b6c164a47f7ed49cd.css"
|
54
|
-
]
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
70edce1bd3ecd60639ea9e56a3cd098a3641ca07
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
2
|
-
# yarn lockfile v1
|
3
|
-
|
4
|
-
|
5
|
-
left-pad@^1.2.0:
|
6
|
-
version "1.2.0"
|
7
|
-
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.2.0.tgz#d30a73c6b8201d8f7d8e7956ba9616087a68e0ee"
|
8
|
-
|
9
|
-
right-pad@^1.0.1:
|
10
|
-
version "1.0.1"
|
11
|
-
resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0"
|