Skip to content

Commit 190d8e9

Browse files
committed
fix(pixi): handle build issue
1 parent e3159a8 commit 190d8e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/canvas-pixi/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '@nativescript/canvas-polyfill';
1+
require('@nativescript/canvas-polyfill');
22
import * as Pixii from 'pixi.js';
33

44
export class TNSPIXIApplication extends Pixii.Application {

packages/canvas-pixi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/canvas-pixi",
3-
"version": "1.0.0-beta.0",
3+
"version": "1.0.0-beta.1",
44
"description": "Plugin for using pixi.js in NativeScript",
55
"main": "index",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)