<commit_before>const path = require('path')

module.exports = function DesignupModule(moduleOptions) {
  this.addPlugin(path.resolve(__dirname, './plugins/font-awesome.js'))
  this.addPlugin(path.resolve(__dirname, './plugins/plugin.js'))
  this.options.css.push('normalize.css/normalize.css')

  if (!Array.isArray(this.options.build.postcss)) {
    this.options.build.postcss = []
  }

  this.options.build.postcss.push(
    require('postcss-preset-env')({
      stage: 0,
      features: {
        'custom-properties': {
          preserve: false,
          variables: require('./../src/variables/variables')({
            theme: moduleOptions.theme || 'blue'
          })
        },
        'custom-media-queries': {
          extensions: require('./../src/variables/custom-media')
        }
      }
    })
  )
  this.options.css.push(path.resolve(__dirname, '../src/styles/modules.css'))
}

module.exports.meta = require('./../package.json')<commit_msg>Updated module<commit_after>const path = require('path')

module.exports = function DesignupModule(moduleOptions) {
  this.addPlugin(path.resolve(__dirname, './plugins/font-awesome.js'))
  this.addPlugin(path.resolve(__dirname, './plugins/plugin.js'))
  this.options.css.push('normalize.css/normalize.css')

  if (!Array.isArray(this.options.build.postcss)) {
    this.options.build.postcss = []
  }

  this.options.build.postcss.push(
    require('postcss-preset-env')({
      stage: 0,
      preserve: false,
      importFrom: [
        {
          customProperties: require('./../src/variables/variables')({
            theme: moduleOptions.theme || 'blue'
          }),
          customMedia: require('./../src/variables/custom-media')
        }
      ],
      features: {
        'color-mod-function': {
          unresolved: 'ignore'
        }
      }
    })
  )
  this.options.css.push(path.resolve(__dirname, '../src/styles/modules.css'))
}

module.exports.meta = require('./../package.json')
{'fraction_non_alphanumeric': 0.1751787538304392, 'fraction_numerical': 0.0010214504596527069, 'mean_word_length': 2.661682242990654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '599381', 'n_tokens_mistral': 599, 'n_tokens_neox': 598, 'n_words': 70}