class Parceler::Configuration

Configuration options defined here have direct relations to those defined in the official documentation parceljs.org/cli.html

Attributes

autoresolve[RW]
cache[RW]
content_hashing[RW]
destination[RW]
entry_point[RW]
minify[RW]
source_maps[RW]

Public Class Methods

new() click to toggle source
# File lib/parceler.rb, line 22
def initialize
        @entry_point = "app/javascript/application.js"
        @destination = "public/parcels"
        @cache = nil
        @source_maps = false
        @minify = true
        @content_hashing = true
        @autoresolve = false
end