All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.webpack.cjs Maven / Gradle / Ivy

The newest version!
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const presetUno = require('@unocss/preset-uno');
const WebpackPlugin = require('@unocss/webpack');

function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }

const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
const WebpackPlugin__default = /*#__PURE__*/_interopDefaultCompat(WebpackPlugin);

function UnocssWebpackPlugin(configOrPath) {
  return WebpackPlugin__default(
    configOrPath,
    {
      presets: [
        presetUno__default()
      ]
    }
  );
}

exports.default = UnocssWebpackPlugin;
Object.prototype.hasOwnProperty.call(WebpackPlugin, '__proto__') &&
  !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
  Object.defineProperty(exports, '__proto__', {
    enumerable: true,
    value: WebpackPlugin['__proto__']
  });

Object.keys(WebpackPlugin).forEach(function (k) {
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = WebpackPlugin[k];
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy