fix: Plugin import fixes.

This commit is contained in:
Sam Tolmay 2021-11-25 22:24:52 +02:00
parent 583ea87f2d
commit e1becad087
No known key found for this signature in database
GPG Key ID: D004126FCD1A6DF0
4 changed files with 2 additions and 37 deletions

View File

@ -23,7 +23,7 @@ Object.keys(blocks).forEach((block) => {
});
export default {
blocks: Object.keys(blocks),
styles: { default: ['style.less'], ...styles },
styles: { default: [], ...styles },
};
// export default {

View File

@ -17,7 +17,7 @@
import Link from 'next/link';
import { createIcon } from '@lowdefy/block-utils';
import icons from '../plugins/icons.js';
import icons from '../../build/plugins/icons.js';
export default {
Link,

View File

@ -1,35 +0,0 @@
/*
Copyright 2020-2021 Lowdefy, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/* eslint-disable import/no-duplicates */
import { AiOutlineFire } from 'react-icons/ai';
import { AiOutlineRocket } from 'react-icons/ai';
import { AiOutlineLoading3Quarters } from 'react-icons/ai';
import { AiOutlineExclamationCircle } from 'react-icons/ai';
import { AiOutlineExperiment } from 'react-icons/ai';
import { FcLandscape } from 'react-icons/fc';
import { MdIcecream } from 'react-icons/md';
export default {
AiOutlineLoading3Quarters,
AiOutlineExclamationCircle,
AiOutlineFire,
AiOutlineRocket,
AiOutlineExperiment,
FcLandscape,
MdIcecream,
};