From a3072a3dbb5d4fcef1642c937bd91d88e251ee9c Mon Sep 17 00:00:00 2001 From: kiota-rita Date: Fri, 7 Oct 2022 20:25:02 -0300 Subject: [PATCH] =?UTF-8?q?WIP=20tradu=C3=A7=C3=A3o=20do=20t=C3=B3pico=20I?= =?UTF-8?q?mport=20maps=20#761?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt-BR/working_with_javascript_in_rails.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pt-BR/working_with_javascript_in_rails.md b/pt-BR/working_with_javascript_in_rails.md index 9602636e7..e1cb92804 100644 --- a/pt-BR/working_with_javascript_in_rails.md +++ b/pt-BR/working_with_javascript_in_rails.md @@ -18,13 +18,11 @@ seu JavaScript. ------------------------------------------------------------------------------- -Import maps +Mapas de importação ----------- -[Import maps](https://github.com/rails/importmap-rails) let you import JavaScript modules using -logical names that map to versioned files directly from the browser. Import maps are the default -from Rails 7, allowing anyone to build modern JavaScript applications using most NPM packages -without the need for transpiling or bundling. +[Import maps](https://github.com/rails/importmap-rails) permite importar módulos JavaScript usando nomes lógicos que mapeiam para arquivos versionados diretamente do navegador. Os mapas de importação são o padrão utilizado no Rails 7, permitindo que qualquer pessoa construa aplicativos JavaScript modernos usando a maioria dos pacotes NPM +sem a necessidade de transpilar ou *empacotar (bundling)* seu código. Applications using import maps do not need [Node.js](https://nodejs.org/en/) or [Yarn](https://yarnpkg.com/) to function. If you plan to use Rails with `importmap-rails` to