Skip to content
Permalink
Browse files

Update webpacker

  • Loading branch information...
mrhead committed Apr 11, 2019
1 parent 5ee1ffc commit 02f4cb0ab5943feeeab51a928d49f48024fddc27
Showing with 2,894 additions and 2,240 deletions.
  1. +17 −12 .babelrc
  2. +1 −1 Gemfile.lock
  3. +5 −1 bin/webpack
  4. +5 −1 bin/webpack-dev-server
  5. +2 −2 package.json
  6. +2,864 −2,223 yarn.lock
@@ -1,18 +1,23 @@
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": "> 1%",
"uglify": true
},
"useBuiltIns": true
}]
[
"@babel/preset-env",
{
"modules": false,
"targets": {
"browsers": "> 1%",
}
}
]
],

"plugins": [
"syntax-dynamic-import",
"transform-object-rest-spread",
["transform-class-properties", { "spec": true }]
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-object-rest-spread",
[
"@babel/plugin-proposal-class-properties",
{
"spec": true
}
]
]
}
@@ -186,7 +186,7 @@ GEM
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
webpacker (3.5.5)
webpacker (4.0.2)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)
@@ -12,4 +12,8 @@ require "bundler/setup"

require "webpacker"
require "webpacker/webpack_runner"
Webpacker::WebpackRunner.run(ARGV)

APP_ROOT = File.expand_path("..", __dir__)
Dir.chdir(APP_ROOT) do
Webpacker::WebpackRunner.run(ARGV)
end
@@ -12,4 +12,8 @@ require "bundler/setup"

require "webpacker"
require "webpacker/dev_server_runner"
Webpacker::DevServerRunner.run(ARGV)

APP_ROOT = File.expand_path("..", __dir__)
Dir.chdir(APP_ROOT) do
Webpacker::DevServerRunner.run(ARGV)
end
@@ -2,10 +2,10 @@
"name": "stimulus-search",
"private": true,
"dependencies": {
"@rails/webpacker": "3.5",
"@rails/webpacker": "4.0.2",
"stimulus": "^1.1.0"
},
"devDependencies": {
"webpack-dev-server": "2.11.2"
"webpack-dev-server": "3.3.1"
}
}
Oops, something went wrong.

0 comments on commit 02f4cb0

Please sign in to comment.
You can’t perform that action at this time.