Sha256: c702ca338aed59061b7eff32526c18a7c3fd219f328163a296db59d869693e5f

Contents?: true

Size: 257 Bytes

Versions: 14

Compression:

Stored size: 257 Bytes

Contents

import { Application } from "stimulus"
import { definitionsFromContext } from "stimulus/webpack-helpers"

const application = Application.start()
const context = require.context("controllers", true, /.js$/)
application.load(definitionsFromContext(context))

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
webpacker-3.6.0 lib/install/examples/stimulus/application.js
webpacker-3.5.5 lib/install/examples/stimulus/application.js
webpacker-3.5.3 lib/install/examples/stimulus/application.js
webpacker-3.5.2 lib/install/examples/stimulus/application.js
webpacker-3.5.1 lib/install/examples/stimulus/application.js
webpacker-3.5.0 lib/install/examples/stimulus/application.js
webpacker-3.4.3 lib/install/examples/stimulus/application.js
webpacker-4.0.0.pre.pre.2 lib/install/examples/stimulus/application.js
webpacker-4.0.0.pre.pre.1 lib/install/examples/stimulus/application.js
webpacker-3.4.1 lib/install/examples/stimulus/application.js
webpacker-3.4.0 lib/install/examples/stimulus/application.js
webpacker-3.3.1 lib/install/examples/stimulus/application.js
webpacker-3.3.0 lib/install/examples/stimulus/application.js
webpacker-3.2.2 lib/install/examples/stimulus/application.js