Skip to content

Commit a9f79c1

Browse files
author
Gurpreet Singh
committed
changed folder structure
1 parent c642f7b commit a9f79c1

File tree

7 files changed

+4
-5
lines changed

7 files changed

+4
-5
lines changed

src/App.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
import logo from './logo.svg';
33
import './App.css';
4-
import { Toggle } from "./components"
4+
import { Toggle } from "./components/src"
55

66
function App() {
77
return (
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/src
22
rollup.config.js
3-
.storybook
43
node_modules

src/components/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"scripts": {
1212
"test": "echo \"Error: no test specified\" && exit 1",
13-
"build-lib": "rm -rf dist && rollup -c --environment BUILD:production"
13+
"build": "rm -rf dist && rollup -c --environment BUILD:production"
1414
},
1515
"author": {
1616
"name": "Gurpreet Singh",
@@ -63,4 +63,4 @@
6363
"prop-types": "^15.7.2",
6464
"react-dom": "^17.0.2"
6565
}
66-
}
66+
}

src/components/rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { terser } from "rollup-plugin-terser";
55

66
export default [
77
{
8-
input: "./index.js",
8+
input: "./src/index.js",
99
output: [
1010
{
1111
file: "dist/index.js",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)