Sha256: 6f5b00be6e640bba9290f3c2fa6e93ac6a532df5c4b6aa44adf3ef3d0b04fad7

Contents?: true

Size: 276 Bytes

Versions: 14

Compression:

Stored size: 276 Bytes

Contents

const { runningWebpackDevServer } = require('../env')
const devServer = require('../dev_server')

// This logic is tied to lib/shakapacker/instance.rb
const inliningCss = runningWebpackDevServer && devServer.hmr && devServer.inline_css !== false

module.exports = inliningCss

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
shakapacker-7.2.3 package/utils/inliningCss.js
shakapacker-7.3.0.beta.1 package/utils/inliningCss.js
shakapacker-7.2.2 package/utils/inliningCss.js
shakapacker-7.2.1 package/utils/inliningCss.js
shakapacker-7.2.0 package/utils/inliningCss.js
shakapacker-7.2.0.rc.0 package/utils/inliningCss.js
shakapacker-7.1.0 package/utils/inliningCss.js
shakapacker-7.0.3 package/utils/inliningCss.js
shakapacker-7.0.2 package/utils/inliningCss.js
shakapacker-7.0.1 package/utils/inliningCss.js
shakapacker-7.0.0 package/utils/inliningCss.js
shakapacker-7.0.0.rc.2 package/utils/inliningCss.js
shakapacker-7.0.0.rc.1 package/utils/inliningCss.js
shakapacker-7.0.0.rc.0 package/utils/inliningCss.js