-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into Moved-npm-publish-to-common-workflow
- Loading branch information
Showing
7 changed files
with
237 additions
and
3,462 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
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,5 +1,5 @@ | ||
.idea/ | ||
assets/ | ||
src/ | ||
webpack.config.js | ||
vite.config.js | ||
yarn.lock |
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
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import path from "path"; | ||
import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"; | ||
import * as pkg from "./package.json"; | ||
|
||
const NODE_ENV = process.argv.mode || "development"; | ||
const VERSION = pkg.version; | ||
|
||
export default { | ||
build: { | ||
copyPublicDir: false, | ||
lib: { | ||
entry: path.resolve(__dirname, "src", "index.js"), | ||
name: "SimpleImage", | ||
fileName: "simple-image", | ||
}, | ||
}, | ||
define: { | ||
NODE_ENV: JSON.stringify(NODE_ENV), | ||
VERSION: JSON.stringify(VERSION), | ||
}, | ||
|
||
plugins: [cssInjectedByJsPlugin()], | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.