diff --git a/packages/aaron/example/src/App.js b/packages/aaron/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/aaron/example/src/App.js +++ b/packages/aaron/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/albert/example/src/App.js b/packages/albert/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/albert/example/src/App.js +++ b/packages/albert/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/bella/example/src/App.js b/packages/bella/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/bella/example/src/App.js +++ b/packages/bella/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/benjamin/example/src/App.js b/packages/benjamin/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/benjamin/example/src/App.js +++ b/packages/benjamin/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/bent/example/src/App.js b/packages/bent/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/bent/example/src/App.js +++ b/packages/bent/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/breanna/example/src/App.js b/packages/breanna/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/breanna/example/src/App.js +++ b/packages/breanna/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/brian/example/src/App.js b/packages/brian/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/brian/example/src/App.js +++ b/packages/brian/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/bruce/example/src/App.js b/packages/bruce/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/bruce/example/src/App.js +++ b/packages/bruce/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/carlita/example/src/App.js b/packages/carlita/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/carlita/example/src/App.js +++ b/packages/carlita/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/carlton/example/src/App.js b/packages/carlton/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/carlton/example/src/App.js +++ b/packages/carlton/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/cathrin/example/src/App.js b/packages/cathrin/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/cathrin/example/src/App.js +++ b/packages/cathrin/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/charlie/example/src/App.js b/packages/charlie/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/charlie/example/src/App.js +++ b/packages/charlie/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/cornelius/example/src/App.js b/packages/cornelius/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/cornelius/example/src/App.js +++ b/packages/cornelius/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/diana/example/src/App.js b/packages/diana/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/diana/example/src/App.js +++ b/packages/diana/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/examples/example/src/App.js b/packages/examples/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/examples/example/src/App.js +++ b/packages/examples/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/florence/example/src/App.js b/packages/florence/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/florence/example/src/App.js +++ b/packages/florence/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/florent/example/src/App.js b/packages/florent/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/florent/example/src/App.js +++ b/packages/florent/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/holmes/example/src/App.js b/packages/holmes/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/holmes/example/src/App.js +++ b/packages/holmes/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/hortensia/example/src/App.js b/packages/hortensia/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/hortensia/example/src/App.js +++ b/packages/hortensia/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/huey/example/src/App.js b/packages/huey/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/huey/example/src/App.js +++ b/packages/huey/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/hugo/example/src/App.js b/packages/hugo/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/hugo/example/src/App.js +++ b/packages/hugo/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/jaeger/example/src/App.js b/packages/jaeger/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/jaeger/example/src/App.js +++ b/packages/jaeger/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/legend/example/src/App.js b/packages/legend/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/legend/example/src/App.js +++ b/packages/legend/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/paco/example/src/App.js b/packages/paco/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/paco/example/src/App.js +++ b/packages/paco/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/penelope/example/src/App.js b/packages/penelope/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/penelope/example/src/App.js +++ b/packages/penelope/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/rendertest/example/src/App.js b/packages/rendertest/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/rendertest/example/src/App.js +++ b/packages/rendertest/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/sandy/example/src/App.js b/packages/sandy/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/sandy/example/src/App.js +++ b/packages/sandy/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/shin/example/src/App.js b/packages/shin/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/shin/example/src/App.js +++ b/packages/shin/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/simon/example/src/App.js b/packages/simon/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/simon/example/src/App.js +++ b/packages/simon/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/simone/example/src/App.js b/packages/simone/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/simone/example/src/App.js +++ b/packages/simone/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/sven/example/src/App.js b/packages/sven/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/sven/example/src/App.js +++ b/packages/sven/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/tamiko/example/src/App.js b/packages/tamiko/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/tamiko/example/src/App.js +++ b/packages/tamiko/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/teagan/example/src/App.js b/packages/teagan/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/teagan/example/src/App.js +++ b/packages/teagan/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/theo/example/src/App.js b/packages/theo/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/theo/example/src/App.js +++ b/packages/theo/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/titan/example/src/App.js b/packages/titan/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/titan/example/src/App.js +++ b/packages/titan/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/trayvon/example/src/App.js b/packages/trayvon/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/trayvon/example/src/App.js +++ b/packages/trayvon/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/tutorial/example/src/App.js b/packages/tutorial/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/tutorial/example/src/App.js +++ b/packages/tutorial/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/wahid/example/src/App.js b/packages/wahid/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/wahid/example/src/App.js +++ b/packages/wahid/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations diff --git a/packages/waralee/example/src/App.js b/packages/waralee/example/src/App.js index 79b7751e342..14ca291b400 100644 --- a/packages/waralee/example/src/App.js +++ b/packages/waralee/example/src/App.js @@ -2,8 +2,17 @@ import React from 'react' import freesewing from '@freesewing/core' import Workbench from '@freesewing/components/Workbench' import '@freesewing/css-theme' +import Pattern from './pattern/src/index.js' +/* + * The following symlink is required to make this import work: + * `root_folder/example/src/pattern => `../../` + * + * Without it, we can't import the pattern as a local file + * since create-react-app does not allow imports outside ./src + * If it's imported as a dependency, webpack will cache the + * build and there will be no hot-relaoding of changes + */ -import Pattern from 'pattern' const App = (props) => { // You can use this to add transations