-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
82ce7a8
commit c205603
Showing
23 changed files
with
1,082 additions
and
1,092 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
7 changes: 7 additions & 0 deletions
7
change/@griffel-eslint-plugin-3551b36f-f97f-42ce-86b1-c9ba597e2e81.json
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,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "chore: bump @typescript-eslint/utils", | ||
"packageName": "@griffel/eslint-plugin", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
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
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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/babel/alias/output.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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/babel/basic/output.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
4 changes: 1 addition & 3 deletions
4
packages/webpack-extraction-plugin/__fixtures__/babel/mixed/output.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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/babel/multiple/output.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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/babel/reset/output.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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
import { __resetCSS as _resetCSS } from '@griffel/react'; | ||
import { __resetStyles } from '@griffel/react'; | ||
import { __resetStyles, __resetCSS as _resetCSS } from '@griffel/react'; | ||
export const useClassName = _resetCSS('rjefjbm', 'r7z97ji'); |
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/webpack/assets-flip/output.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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/webpack/assets-multiple/output.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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/webpack/assets/output.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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/webpack/basic-rules/output.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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/webpack/empty/output.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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { __css as _css } from '@griffel/react'; | ||
import { __styles } from '@griffel/react'; | ||
import { __styles, __css as _css } from '@griffel/react'; | ||
export const useStyles = _css({ | ||
root: {}, | ||
}); |
4 changes: 1 addition & 3 deletions
4
packages/webpack-extraction-plugin/__fixtures__/webpack/mixed/output.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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/webpack/multiple/output.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
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/webpack/reset/output.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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { __resetCSS as _resetCSS } from '@griffel/react'; | ||
import { __resetStyles } from '@griffel/react'; | ||
import { __resetStyles, __resetCSS as _resetCSS } from '@griffel/react'; | ||
export const useClassName = _resetCSS('rjefjbm', 'r7z97ji'); | ||
|
||
import './code.griffel.css!=!../../../virtual-loader/index.js!./code.ts'; |
3 changes: 1 addition & 2 deletions
3
packages/webpack-extraction-plugin/__fixtures__/webpack/unstable-attach-to-main/output.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
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,18 +1,18 @@ | ||
function getRollupOptions(/** @type {import('rollup').RollupOptions} */ options) { | ||
if (Array.isArray(options.output)) { | ||
throw new Error('"options.output" cannot be an array'); | ||
} | ||
options.output = options.output.map(output => ({ | ||
...output, | ||
// Stops bundling to a single file and prevents bundle size issues | ||
preserveModules: true, | ||
preserveModulesRoot: 'src', | ||
// Enables sourcemaps | ||
sourcemap: true, | ||
})); | ||
|
||
options.output = { | ||
...options.output, | ||
// Stops bundling to a single file and prevents bundle size issues | ||
preserveModules: true, | ||
preserveModulesRoot: 'src', | ||
// Enables sourcemaps | ||
sourcemap: true, | ||
}; | ||
return options; | ||
} | ||
|
||
return options; | ||
throw new Error('"options.output" should be an array'); | ||
} | ||
|
||
module.exports = getRollupOptions; |
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
Oops, something went wrong.