-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move webpack-helpers back to it's own file So they can be impored with `stimulus/webpack-helpers` again See: https://github.com/hotwired/stimulus/blob/v2.0.0/packages/stimulus/webpack-helpers.js * rollup webpack-helpers too * add browser field too
- Loading branch information
Showing
7 changed files
with
92 additions
and
24 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 |
---|---|---|
|
@@ -4,4 +4,3 @@ node_modules/ | |
docs/api/ | ||
*.log | ||
*.tsbuildinfo | ||
*.d.ts |
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,2 @@ | ||
export * from "@hotwired/stimulus" | ||
export as namespace Stimulus |
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 |
---|---|---|
|
@@ -9,16 +9,39 @@ | |
"Javan Makhmali <[email protected]>", | ||
"Sam Stephenson <[email protected]>" | ||
], | ||
"main": "dist/stimulus.js", | ||
"module": "dist/stimulus.esm.js", | ||
"main": "./dist/stimulus.js", | ||
"module": "./dist/stimulus.js", | ||
"browser": "./dist/stimulus.js", | ||
"umd:main": "./dist/stimulus.umd.js", | ||
"types": "./index.d.ts", | ||
"exports": { | ||
".": { | ||
"browser": "./dist/stimulus.js", | ||
"import": "./dist/stimulus.js", | ||
"umd": "./dist/stimulus.umd.js", | ||
"types": "./index.d.ts" | ||
}, | ||
"./webpack-helpers": { | ||
"browser": "./dist/webpack-helpers.js", | ||
"import": "./dist/webpack-helpers.js", | ||
"umd": "./dist/webpack-helpers.umd.js", | ||
"types": "./webpack-helpers.d.ts" | ||
} | ||
}, | ||
"files": [ | ||
"index.d.ts", | ||
"dist/stimulus.js", | ||
"dist/stimulus.umd.js", | ||
"webpack-helpers.js", | ||
"webpack-helpers.d.ts", | ||
"dist/webpack-helpers.js", | ||
"dist/webpack-helpers.umd.js", | ||
"README.md" | ||
], | ||
"license": "MIT", | ||
"dependencies": { | ||
"@hotwired/stimulus": "^3.0.0" | ||
"@hotwired/stimulus": "^3.0.0", | ||
"@hotwired/stimulus-webpack-helpers": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "^13.0.0", | ||
|
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,2 @@ | ||
export * from "@hotwired/stimulus-webpack-helpers" | ||
export as namespace StimulusWebpackHelpers |
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 @@ | ||
export * from "@hotwired/stimulus-webpack-helpers" |
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