Skip to content

Commit

Permalink
rm trim for unocss
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyuki committed Dec 1, 2023
1 parent 0cc59ad commit cfd1d73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
3 changes: 1 addition & 2 deletions packages/webpack-plugin/lib/style-compiler/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const postcss = require('postcss')
const loadPostcssConfig = require('./load-postcss-config')
const { MPX_ROOT_VIEW, MPX_APP_MODULE_ID } = require('../utils/const')
const trim = require('./plugins/trim')
const rpx = require('./plugins/rpx')
const vw = require('./plugins/vw')
const pluginCondStrip = require('./plugins/conditional-strip')
Expand Down Expand Up @@ -30,7 +29,7 @@ module.exports = function (css, map) {

const inlineConfig = Object.assign({}, mpx.postcssInlineConfig, { defs })
loadPostcssConfig(this, inlineConfig).then(config => {
const plugins = [trim] // init with trim plugin
const plugins = [] // init with trim plugin
const options = Object.assign(
{
to: this.resourcePath,
Expand Down
15 changes: 0 additions & 15 deletions packages/webpack-plugin/lib/style-compiler/plugins/trim.js

This file was deleted.

0 comments on commit cfd1d73

Please sign in to comment.