Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "mhy": {
- "mhy": {
- "cjs": {
- "distFolder": "dist/cjs"
- }
- },
- "babel": {
- "cjs": {
- "presets": [
- {
- "$match": {
- "query": "$[?(@[0].includes('preset-env'))]",
- "value": [
- {
- "$match": {
- "index": 1,
- "value": {
- "modules": "commonjs",
- "targets": {
- "$replace": {
- "node": true,
- "browsers": false,
- "esmodules": true
- }
- }
- }
- }
- }
- ]
- }
- }
- ],
- "plugins": [
- {
- "$prepend": {
- "$expression": "$params.require.resolve('babel-plugin-add-module-exports')"
- }
- }
- ]
- }
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement