webpacker 6.0.0.beta → 6.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19faa9561fccec8279b1d8031c2a386c44554ba0f24acc048ec4856853900fc5
4
- data.tar.gz: a10901426f6b8ff524c243ddc21392ada8cf189fd85d63d3a6b558cd71b4237f
3
+ metadata.gz: a6443ddc11bf717fe1987306bc46527edf1692dfdc8bb3b827a8918a5e81b89b
4
+ data.tar.gz: 9dd83b7b25ee965abe951b86e3529797ef8f51e7dd5e3b94011f4d781adfab8c
5
5
  SHA512:
6
- metadata.gz: cda09944b075aa8da83a0c568f656d63b040b4c110b5a87f1e5962b60c24e63d70020a4648c1133674611a64178f048ad081128ea891df1950f82957e7a2a5da
7
- data.tar.gz: aa72ec1ac73614d32405ca4dfbfbd05e910167599b30e9ed91b3360bdbc0ba12db577fb55096942f6e1a468e21e1e05ccf8bfc5b80596fb3f68e187a73fe1a63
6
+ metadata.gz: 64209399bfb645bb325799c6f4267e78439d59481983a5906888203cdec03034bb592dc226d93da70f56b5567337a4cf91352a85d1dfc0e386fdceea8ef1ecb9
7
+ data.tar.gz: 296d7238ffb6ad997ed71730304aeb34330610ccd2ec4f0838d3fbbec0bf4d39a0131b1f3fc2a9779c0a51e161f4a7952974ee04b47ca7edab9a6f2a9a5aa651
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- webpacker (6.0.0.beta)
4
+ webpacker (6.0.0.beta.1)
5
5
  activesupport (>= 5.2)
6
6
  rack-proxy (>= 0.6.1)
7
7
  railties (>= 5.2)
@@ -1,4 +1,4 @@
1
1
  module Webpacker
2
2
  # Change the version in package.json too, please!
3
- VERSION = "6.0.0.beta".freeze
3
+ VERSION = "6.0.0.beta.1".freeze
4
4
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/webpacker",
3
- "version": "6.0.0-beta",
3
+ "version": "6.0.0-beta.1",
4
4
  "description": "Use webpack to manage app-like JavaScript modules in Rails",
5
5
  "main": "package/index.js",
6
6
  "files": [
@@ -39,8 +39,8 @@ describe('Base config', () => {
39
39
  const defaultRules = Object.keys(rules)
40
40
  const configRules = baseConfig.module.rules
41
41
 
42
- expect(defaultRules.length).toEqual(3)
43
- expect(configRules.length).toEqual(3)
42
+ expect(defaultRules.length).toEqual(4)
43
+ expect(configRules.length).toEqual(4)
44
44
  })
45
45
 
46
46
  test('should return default plugins', () => {
@@ -12,9 +12,7 @@ module.exports = {
12
12
  /\.otf$/,
13
13
  /\.ttf$/,
14
14
  /\.woff$/,
15
- /\.woff2$/,
16
- /\.html$/,
17
- /\.json$/
15
+ /\.woff2$/
18
16
  ],
19
17
  exclude: [/\.(js|mjs|jsx|ts|tsx)$/],
20
18
  type: 'asset/resource'
@@ -9,7 +9,8 @@ const rules = {
9
9
  babel: require('./babel'),
10
10
  erb: require('./erb'),
11
11
  coffee: require('./coffee'),
12
- less: require('./less')
12
+ less: require('./less'),
13
+ raw: require('./raw')
13
14
  }
14
15
 
15
16
  module.exports = Object.keys(rules)
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ test: [/\.html$/],
3
+ exclude: [/\.(js|mjs|jsx|ts|tsx)$/],
4
+ type: 'asset/source'
5
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpacker
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.beta
4
+ version: 6.0.0.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -201,6 +201,7 @@ files:
201
201
  - package/rules/file.js
202
202
  - package/rules/index.js
203
203
  - package/rules/less.js
204
+ - package/rules/raw.js
204
205
  - package/rules/sass.js
205
206
  - package/rules/svg.js
206
207
  - package/utils/get_style_rule.js
@@ -249,8 +250,8 @@ homepage: https://github.com/rails/webpacker
249
250
  licenses:
250
251
  - MIT
251
252
  metadata:
252
- source_code_uri: https://github.com/rails/webpacker/tree/v6.0.0.beta
253
- changelog_uri: https://github.com/rails/webpacker/blob/v6.0.0.beta/CHANGELOG.md
253
+ source_code_uri: https://github.com/rails/webpacker/tree/v6.0.0.beta.1
254
+ changelog_uri: https://github.com/rails/webpacker/blob/v6.0.0.beta.1/CHANGELOG.md
254
255
  post_install_message:
255
256
  rdoc_options: []
256
257
  require_paths: