Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ RUN apt-get update && apt-get install -y curl git

# Download and install pwrup
RUN curl -L https://raw.githubusercontent.com/polywrap/pwr/main/pwrup/install | bash
# Source bash and use pwrup to install pwr
RUN /bin/bash -i -c "source ~/.bashrc; pwrup"
# Use pwrup to install pwr
RUN /root/.pwr/bin/pwrup

WORKDIR /project
# Copy the script file to build
COPY {{#polywrap_module}}{{moduleFilePath}}{{/polywrap_module}} ./wrap.js
# Use pwr to build the script
RUN /bin/bash -i -c "pwr js build -f ./wrap.js -o build"
RUN /root/.pwr/bin/pwr js build -f ./wrap.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 changes: 0 additions & 3 deletions packages/templates/wasm/typescript/polywrap.build.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion packages/templates/wasm/typescript/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import typescript from "@rollup/plugin-typescript";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import terser from "@rollup/plugin-terser";
import shims from "./shims.js";
import shims from "./shims/shims.js";

export default {
input: "src/wrap/entry.ts",
Expand Down
Loading