Skip to content

Commit

Permalink
fix: Revert rewrite deps in CJS (#8025) and add missing "type": "module"
Browse files Browse the repository at this point in the history
This reverts commit e32a3a8.
  • Loading branch information
benmccann committed May 11, 2022
1 parent 3c63b7e commit 9e2c5cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playground/optimize-missing-deps/missing-dep/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { name } = require('multi-entry-dep')
import { name } from 'multi-entry-dep'

exports.sayName = () => {
export function sayName() {
return name
}
1 change: 1 addition & 0 deletions playground/optimize-missing-deps/missing-dep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "missing-dep",
"private": true,
"version": "0.0.0",
"type": "module",
"main": "index.js",
"dependencies": {
"multi-entry-dep": "file:../multi-entry-dep"
Expand Down

0 comments on commit 9e2c5cc

Please sign in to comment.