Skip to content

Commit 1667f6c

Browse files
Move from custom build system to rollup + closure compiler (#21)
* Move from custom build system to rollup + closure compiler * Move to 0.13.0 for ampproject/rollup-plugin-closure-compiler
1 parent 5e506e0 commit 1667f6c

File tree

11 files changed

+1323
-884
lines changed

11 files changed

+1323
-884
lines changed

docs/demo/expand/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import {prepareImageAnimation} from '../../../dist/index.js';
17+
import {prepareImageAnimation} from '../../../dist/animations.mjs';
1818

1919
const duration = 600;
2020
const curve = {x1: 0.42, y1: 0, x2: 0.58, y2: 1};

docs/demo/gallery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import {prepareImageAnimation} from '../../../dist/index.js';
17+
import {prepareImageAnimation} from '../../../dist/animations.mjs';
1818

1919
const duration = 350;
2020
const curve = {x1: 0, y1: 0, x2: 0.2, y2: 1};

docs/demo/hero/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import {prepareImageAnimation} from '../../../dist/index.js';
17+
import {prepareImageAnimation} from '../../../dist/animations.mjs';
1818

1919
const duration = 600;
2020
const curve = {x1: 0.8, y1: 0, x2: 0.2, y2: 1};

docs/demo/lightbox/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import {prepareImageAnimation} from '../../../dist/index.js';
17+
import {prepareImageAnimation} from '../../../dist/animations.mjs';
1818

1919
const lightbox = document.getElementById('lightbox');
2020
const lightboxImgContainer = document.getElementById('lightboxImgContainer');

docs/demo/pan/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import {prepareImageAnimation} from '../../../dist/index.js';
17+
import {prepareImageAnimation} from '../../../dist/animations.mjs';
1818

1919
const srcImg = document.querySelector('.panorama-start');
2020
const targetImg = document.querySelector('.panorama-end');

docs/demo/zoom-crop/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import {prepareImageAnimation} from '../../../dist/index.js';
17+
import {prepareImageAnimation} from '../../../dist/animations.mjs';
1818

1919
const duration = 600;
2020
const curve = {x1: 0.8, y1: 0, x2: 0.2, y2: 1};

docs/tools/img-cropper/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import './dragger.js';
1818
import './dropper.js';
1919
import {generateMarkup} from './generate-markup.js';
20-
import {prepareImageAnimation} from '../../../dist/index.js';
20+
import {prepareImageAnimation} from '../../../dist/animations.mjs';
2121

2222
const imgContainer = document.querySelector('.src-img-container');
2323
const origImg = document.querySelector('.target');

0 commit comments

Comments
 (0)