-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempts to solve webpack specified import problem
Suspect it's a fight between webpack being fussier and microbundle not adding qualified imports: developit/microbundle#1023
- Loading branch information
1 parent
2e016da
commit 4a79b46
Showing
2 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,23 +2,25 @@ | |
"name": "@sandtreader/rafiki", | ||
"author": "Paul Clark <[email protected]>", | ||
"description": "Rafiki React Administration Framework", | ||
"keywords": ["react", "administration", "portal", "dashboard"], | ||
"license": "MIT", | ||
"version": "0.1.7", | ||
"version": "0.1.9g", | ||
"type": "module", | ||
"source": "src/rafiki.ts", | ||
"main": "dist/rafiki.cjs", | ||
"umpkg": "dist/rafiki.umd.js", | ||
"module": "dist/rafiki.module.js", | ||
"exports": { | ||
"types": "./dist/rafiki.d.ts", | ||
"require": "./dist/rafiki.cjs", | ||
"default": "./dist/rafiki.modern.js" | ||
}, | ||
"main": "./dist/rafiki.cjs", | ||
"module": "./dist/rafiki.module.js", | ||
"umpkg": "./dist/rafiki.umd.js", | ||
"types": "dist/rafiki.d.ts", | ||
"files": [ | ||
"dist/rafiki.*", | ||
"dist/lib/*.ts" | ||
], | ||
"dependencies": { | ||
"peerDependencies": { | ||
"@emotion/react": "^11.10.5", | ||
"@emotion/styled": "^11.10.5", | ||
"@mui/material": "^5.10.15", | ||
|
@@ -32,8 +34,8 @@ | |
"lint": "prettier src -c", | ||
"format": "prettier src --write", | ||
"eject": "react-scripts eject", | ||
"build:lib": "rm -r dist; microbundle --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react", | ||
"watch:lib": "microbundle --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react watch", | ||
"build:lib": "rm -r dist; microbundle", | ||
"watch:lib": "microbundle watch", | ||
"publish:lib": "npm run build:lib && npm publish --access public" | ||
}, | ||
"eslintConfig": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"target": "esnext", | ||
"lib": [ | ||
"dom", | ||
"dom.iterable", | ||
|