feat: ui overhaul (#676)
This commit is contained in:
committed by
GitHub
parent
5c86462859
commit
66b81e9228
.nvmrcBREAKING_CHANGES.mdyarn.locktailwind.base.config.jsyarn.lock
packages
app
core
.eslintrc.jsconfig.ymlindex.htmlindex.jsjest.config.jspackage.jsonpostcss.config.jstailwind.config.js
dev-test
_posts/assets/uploads
assets/uploads
backends/proxy
_posts/2022-11-01-something
assets/upload
src
__mocks__
@staticcms/core/store
copy-text-to-clipboard.tsreact-polyglot.tsreact-virtualized-auto-sizer.tsreact-waypoint.tsactions
backends
bootstrap.tsxcomponents
App.tsx
constants.tsApp
Collection
CollectionTop.tsx
Entries
FilterControl.tsxGroupControl.tsxSidebar.tsxSortControl.tsxViewStyleControl.tsxEditor
ErrorBoundary.tsxMainView.tsxMediaLibrary
EmptyMessage.tsxMediaLibrary.tsxMediaLibraryCard.tsxMediaLibraryCardGrid.tsxMediaLibraryModal.tsxMediaLibrarySearch.tsxMediaLibraryTop.tsx
NotFoundPage.tsxUI
AuthenticationPage.tsxFieldLabel.tsxFileUploadButton.tsxIcon.tsx
Icon
ListItemTopBar.tsxNavLink.tsxObjectWidgetTopBar.tsxOutline.tsxScrollTop.tsxSettingsDropdown.tsxWidgetPreviewContainer.tsxindex.tsstyles.tsxcollections
Collection.tsxCollectionControls.tsxCollectionHeader.tsxCollectionRoute.tsxCollectionSearch.tsxFilterControl.tsxGroupControl.tsxNestedCollection.tsxSortControl.tsx
entries
common
alert
autocomplete
button
card
confirm
field
image
link
menu
modal
pill
progress
select
switch
table
text-field
view-style
widget
entry-editor
Editor.tsxEditorInterface.tsxEditorRoute.tsxEditorToolbar.tsx
editor-control-pane
editor-preview-pane
widgets
images
login
media-library
navbar
page
snackbar
constants
extensions.tsindex.tsinterface.tslib
hooks
index.tsuseCursor.tsuseHasChildErrors.tsuseIcon.tsxuseMediaAsset.tsuseMediaFiles.tsuseMediaInsert.ts
registry.tstest-utils
util
widgets
locales/en
reducers
store
styles
types
widgets
boolean
code
colorstring
datetime
DateTimeControl.tsxDateTimePreview.tsx
__tests__
components
constants.tsgetDefaultValue.tsindex.tsindex.tsxutc.util.tsfile
image
index.tslist
map
markdown
MarkdownPreview.tsx
plate
PlateEditor.tsx
withMarkdownControl.tsxcomponents
balloon-toolbar
buttons
AddButtons.tsxAlignToolbarButtons.tsxBasicElementToolbarButtons.tsxBasicMarkToolbarButtons.tsxColorToolbarButtons.tsxFontTypeSelect.tsxListToolbarButtons.tsxMediaToolbarButtons.tsxShortcodeToolbarButton.tsxTableToolbarButtons.tsx
common
color-picker
common
nodes
code-block
headings
image
link
list
paragraph
shortcode
table
TableCellElement
TableElement
TableRowElement
toolbar
hooks
serialization
tests-util
mdx
number
object
relation
select
string
text
test
tsconfig.dev.jsontsconfig.jsonwebpack.config.jsdemo
docs
content/docs
additional-links.mdxcloudinary.mdxcollection-types.mdxcustom-previews.mdxcustom-widgets.mdxnetlify-large-media.mdxuploadcare.mdxwidget-list.mdxwidget-number.mdxwidgets.mdx
package.jsonpublic/img
src
components/docs
pages/docs
@ -2,6 +2,7 @@ const path = require('path');
|
||||
const webpack = require('webpack');
|
||||
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
|
||||
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
|
||||
const isProduction = process.env.NODE_ENV === 'production';
|
||||
const devServerPort = parseInt(process.env.STATIC_CMS_DEV_SERVER_PORT || `${8080}`);
|
||||
@ -44,14 +45,11 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
include: ['ol', 'codemirror', '@toast-ui'].map(moduleNameToPath),
|
||||
include: [...['ol', 'codemirror', '@toast-ui'].map(moduleNameToPath), path.resolve(__dirname, '..', 'core', 'src')],
|
||||
use: [
|
||||
{
|
||||
loader: 'style-loader',
|
||||
},
|
||||
{
|
||||
loader: 'css-loader',
|
||||
},
|
||||
!isProduction ? 'style-loader' : MiniCssExtractPlugin.loader,
|
||||
'css-loader',
|
||||
'postcss-loader',
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -85,6 +83,7 @@ module.exports = {
|
||||
},
|
||||
plugins: [
|
||||
!isProduction && new ReactRefreshWebpackPlugin(),
|
||||
isProduction && new MiniCssExtractPlugin(),
|
||||
new webpack.IgnorePlugin({ resourceRegExp: /^esprima$/ }),
|
||||
new webpack.IgnorePlugin({ resourceRegExp: /moment\/locale\// }),
|
||||
new webpack.ProvidePlugin({
|
||||
|
Reference in New Issue
Block a user