bridgetown-core 0.11.1 → 0.11.2

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: a37c6106883a48eeb4acea0c1f06d96d55743b9a0c96da58a8ce1e8d11872f6e
4
- data.tar.gz: 8b6b0fbf59db76bf0f650569fe7203548639cfb4b01d1a5dfcc60ab6d6e5f47b
3
+ metadata.gz: '0906f551762562da1c9663539e264598ff83e4047206e443f333a12cfc3a59a4'
4
+ data.tar.gz: bd8d4b58c92d6fbb7709e5022e4cd114dcea6c4de9cfb73e6992666585035f01
5
5
  SHA512:
6
- metadata.gz: d062100e89863161cae248782db05f9b0519f56bb5965f117cf0bb5734653bd4de27bdb08a063ed996af798f3f34a5e035e59b08f39084351fce33ec80074865
7
- data.tar.gz: 675f41b860201cb0d80f2598761d7f187f0d59271eaebeb99fc8cb7b25931d85947047122017037eb06c8b8e048e79c17ddddabe56c658a22fa7d805e6121a45
6
+ metadata.gz: eb2a4a8592cb90a72d68c4f9cef2551c5fd2101699f2e39fe15f5ac0cc9ae6e3465128651a03a1de4cad327699001b8e5774c073612e5a533585f7152bf6518c
7
+ data.tar.gz: 0d81b4b78a7877ab1ad308ceb9de3a723a05d42b8685392586524d3a1028704c3b6ad30deb6e82c413f915f80b188589cf7a48a590965cf69cafe47bc80ed250
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bridgetown
4
- VERSION = "0.11.1"
4
+ VERSION = "0.11.2"
5
5
  end
@@ -1,6 +1,6 @@
1
- const path = require("path")
2
- const MiniCssExtractPlugin = require("mini-css-extract-plugin")
3
- const ManifestPlugin = require("webpack-manifest-plugin")
1
+ const path = require("path");
2
+ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
3
+ const ManifestPlugin = require("webpack-manifest-plugin");
4
4
 
5
5
  module.exports = {
6
6
  entry: "./frontend/javascript/index.js",
@@ -10,22 +10,22 @@ module.exports = {
10
10
  modules: false,
11
11
  builtAt: false,
12
12
  timings: false,
13
- children: false
13
+ children: false,
14
14
  },
15
15
  output: {
16
16
  path: path.resolve(__dirname, "output", "_bridgetown", "static", "js"),
17
- filename: "all.[contenthash].js"
17
+ filename: "all.[contenthash].js",
18
18
  },
19
19
  resolve: {
20
- extensions: [".js", ".jsx"]
20
+ extensions: [".js", ".jsx"],
21
21
  },
22
22
  plugins: [
23
23
  new MiniCssExtractPlugin({
24
24
  filename: "../css/all.[contenthash].css",
25
25
  }),
26
26
  new ManifestPlugin({
27
- fileName: path.resolve(__dirname, ".bridgetown-webpack", "manifest.json")
28
- })
27
+ fileName: path.resolve(__dirname, ".bridgetown-webpack", "manifest.json"),
28
+ }),
29
29
  ],
30
30
  module: {
31
31
  rules: [
@@ -34,23 +34,21 @@ module.exports = {
34
34
  use: {
35
35
  loader: "babel-loader",
36
36
  options: {
37
- presets: [
38
- "@babel/preset-env"
39
- ],
37
+ presets: ["@babel/preset-env"],
40
38
  plugins: [
41
39
  "@babel/plugin-proposal-class-properties",
42
40
  [
43
41
  "@babel/plugin-transform-runtime",
44
42
  {
45
- "helpers": false
46
- }
47
- ]
48
- ]
49
- }
50
- }
43
+ helpers: false,
44
+ },
45
+ ],
46
+ ],
47
+ },
48
+ },
51
49
  },
52
50
  {
53
- test: /\.(sc|c)ss$/,
51
+ test: /\.(s[ac]|c)ss$/,
54
52
  use: [
55
53
  MiniCssExtractPlugin.loader,
56
54
  "css-loader",
@@ -58,20 +56,23 @@ module.exports = {
58
56
  loader: "sass-loader",
59
57
  options: {
60
58
  sassOptions: {
61
- includePaths: [path.resolve(__dirname, "src/_includes")]
62
- }
63
- }
64
- }
65
- ]
59
+ includePaths: [
60
+ path.resolve(__dirname, "src/_components"),
61
+ path.resolve(__dirname, "src/_includes"),
62
+ ],
63
+ },
64
+ },
65
+ },
66
+ ],
66
67
  },
67
68
  {
68
69
  test: /\.woff2?$|\.ttf$|\.eot$|\.svg$/,
69
70
  loader: "file-loader",
70
71
  options: {
71
72
  outputPath: "../fonts",
72
- publicPath: "../fonts"
73
+ publicPath: "../fonts",
73
74
  },
74
- }
75
- ]
76
- }
77
- }
75
+ },
76
+ ],
77
+ },
78
+ };
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridgetown-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team