diff --git a/proposal/shared-resources.changes.md b/proposal/shared-resources.changes.md deleted file mode 100644 index 55e48ce9..00000000 --- a/proposal/shared-resources.changes.md +++ /dev/null @@ -1,12 +0,0 @@ -## Draft 1.2 - -* Await method calls in example code. -* Use `compiler.compile*()` methods in example code. - -## Draft 1.1 - -* Remove unneeded returned/resolved value from `dispose`. - -## Draft 1 - -* Initial draft diff --git a/proposal/shared-resources.d.ts.md b/proposal/shared-resources.d.ts.md deleted file mode 100644 index 9e77d5d7..00000000 --- a/proposal/shared-resources.d.ts.md +++ /dev/null @@ -1,226 +0,0 @@ -# Shared Resources in JavaScript API: Draft 1.1 - -*([Issue](https://github.com/sass/sass/issues/3296))* - -This proposal adds an API design that allows for sharing resources across -multiple invocations of the Sass compiler's JavaScript API. This will provide -Sass's users with a more efficient way of running Sass compilations across -multiple files. - -## Table of Contents - -* [Summary](#summary) - * [Design Decisions](#design-decisions) - * [Splitting Sync and Async Compilers](#splitting-sync-and-async-compilers) - * [Limited API interface](#limited-api-interface) - * [Flexibility for interfaces on process management](#flexibility-for-interfaces-on-process-management) - * [No shared state](#no-shared-state) - * [Example](#example) - * [Sync Compiler](#sync-compiler) - * [Async Compiler](#async-compiler) -* [API](#api) - * [Types](#types) - * [initCompiler()](#initcompiler) - * [initAsyncCompiler()](#initasynccompiler) - * [Compiler](#compiler) - * [`compile()` and `compileString()`](#compile-and-compilestring) - * [dispose()](#dispose) - * [Async Compiler](#async-compiler-1) - * [`compileAsync()` and `compileStringAsync()`](#compileasync-and-compilestringasync) - * [dispose()](#dispose-1) - -## Summary - -Currently, the JavaScript API for Sass only accommodates a single compilation -per process. In practice, we have observed build tools are compiling multiple -times in response to a single user action. For instance, Vue.js authors using -Vite will see a Sass compilation for each `