Sha256: edd7c8ef1b5ae8d491e3e5b196f399ea70b69fc1c26e419b73ce5381d89b45a8

Contents?: true

Size: 690 Bytes

Versions: 12

Compression:

Stored size: 690 Bytes

Contents

const { execSync } = require('child_process');
const plutoniumGemPath = execSync("bundle show plutonium").toString().trim();
const plutoniumTailwindConfig = require(`${plutoniumGemPath}/tailwind.config.js`)

module.exports = {
  darkMode: plutoniumTailwindConfig.darkMode,
  plugins: [
    // add plugins here
  ].concat(plutoniumTailwindConfig.plugins),
  theme: plutoniumTailwindConfig.theme,
  content: [
    `${__dirname}/app/views/**/*.html.erb`,
    `${__dirname}/app/helpers/**/*.rb`,
    `${__dirname}/app/assets/stylesheets/**/*.css`,
    `${__dirname}/app/javascript/**/*.js`,
    `${__dirname}/packages/**/app/views/**/*.html.erb`,
  ].concat(plutoniumTailwindConfig.content),
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
plutonium-0.12.9 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.12.8 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.12.7 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.12.5 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.12.4 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.12.3 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.12.2 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.12.1 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.12.0 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.11.2 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.11.1 lib/generators/pu/core/assets/templates/tailwind.config.js
plutonium-0.11.0 lib/generators/pu/core/assets/templates/tailwind.config.js