Rename remaining occurrences of webpacker to shakapacker
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# Note: You must restart bin/webpacker-dev-server for changes to take effect
|
||||
# Note: You must restart bin/shakapacker-dev-server for changes to take effect
|
||||
|
||||
default: &default
|
||||
source_path: app/javascript
|
||||
@ -19,7 +19,7 @@ default: &default
|
||||
|
||||
public_root_path: public
|
||||
public_output_path: packs
|
||||
cache_path: tmp/webpacker
|
||||
cache_path: tmp/shakapacker
|
||||
webpack_compile_output: true
|
||||
# See https://github.com/shakacode/shakapacker#deployment
|
||||
shakapacker_precompile: true
|
||||
@ -79,7 +79,7 @@ development:
|
||||
compress: true
|
||||
# Note that apps that do not check the host are vulnerable to DNS rebinding attacks
|
||||
allowed_hosts: 'all'
|
||||
# Shows progress and colorizes output of bin/webpacker[-dev-server]
|
||||
# Shows progress and colorizes output of bin/shakapacker[-dev-server]
|
||||
pretty: true
|
||||
headers:
|
||||
'Access-Control-Allow-Origin': '*'
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
const { globalMutableWebpackConfig, generateWebpackConfig, config, merge } = require('shakapacker')
|
||||
const webpackConfig = generateWebpackConfig()
|
||||
const webpack = require('webpack');
|
||||
|
||||
const CompressionPlugin = require("compression-webpack-plugin");
|
||||
const CssMinimizerPlugin = require("css-minimizer-webpack-plugin");
|
||||
|
Reference in New Issue
Block a user