-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(antd/next): improve docs and support x-component/x-decorator…
… ReactComponent style
- Loading branch information
Showing
69 changed files
with
2,770 additions
and
1,256 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
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 was deleted.
Oops, something went wrong.
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,9 +1,24 @@ | ||
import baseConfig, { | ||
removeImportStyleFromInputFilePlugin, | ||
} from '../../scripts/rollup.base.js' | ||
import postcss from 'rollup-plugin-postcss' | ||
import NpmImport from 'less-plugin-npm-import' | ||
|
||
export default baseConfig( | ||
'formily.designable.antd', | ||
'Formily.Designable.Antd', | ||
removeImportStyleFromInputFilePlugin() | ||
removeImportStyleFromInputFilePlugin(), | ||
postcss({ | ||
extract: true, | ||
minimize: true, | ||
// extensions: ['.css', '.less', '.sass'], | ||
use: { | ||
less: { | ||
plugins: [new NpmImport({ prefix: '~' })], | ||
javascriptEnabled: true, | ||
}, | ||
sass: {}, | ||
stylus: {}, | ||
}, | ||
}) | ||
) |
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
Oops, something went wrong.