Sha256: d8f937bfb144152c9b952053cf081e0882aeb1bf9ff0ea3f1dc2e800f1c97978

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 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

3 entries across 3 versions & 1 rubygems

Version Path
shakapacker-8.1.0 package/utils/inliningCss.js
shakapacker-8.0.2 package/utils/inliningCss.js
shakapacker-8.0.1 package/utils/inliningCss.js